- 21 Apr, 2015 1 commit
-
-
The idea...sometimes, a filemode is user-specified via an explicit git_index_entry. In this case, believe the user, always. Sometimes, it is instead built up by statting the file system. In those cases, go with the existing logic we have to determine whether the file system supports all filemodes and symlinks, and make the best guess. On file systems which have full filemode and symlink support, this commit should make no difference. On others (most notably Windows), this will fix problems things like: * git_index_add and git_index_add_frombuffer() should be believed. * As a consequence, git_checkout_tree should make the filemodes in the index match the ones in the tree. * And diffs with GIT_DIFF_UPDATE_INDEX don't write the wrong filemodes. * And merges, and probably other downstream stuff now fixed, too. This makes my previous changes to checkout.c unnecessary, so they are now reverted. Also, added a test for index_entry permissions from git_index_add and git_index_add_frombuffer, both of which failed before these changes.
John Fultz committed
-
- 16 Apr, 2015 1 commit
-
-
John Fultz committed
-
- 06 Apr, 2015 1 commit
-
-
git_checkout_tree() has some fallback behaviors for file systems which don't have full support of filemodes. Generally works fine, but if a given file had a change of type from a 0644 to 0755 (i.e., you add executable permissions), the fallback behavior incorrectly triggers when writing hte updated index. This would cause a git_checkout_tree() command, even with the GIT_CHECKOUT_FORCE option set, to leave a dirty index on Windows. Also added checks to an existing test to catch this case.
John Fultz committed
-
- 04 Apr, 2015 2 commits
-
-
Entry argument passed to git_index_add_frombuffer() should be const
Edward Thomson committed -
Pierre-Olivier Latour committed
-
- 01 Apr, 2015 1 commit
-
-
gitignore: ignore vim swapfiles
Edward Thomson committed
-
- 30 Mar, 2015 1 commit
-
-
Edward Thomson committed
-
- 25 Mar, 2015 4 commits
-
-
Clear temporary buffer when filtering
Edward Thomson committed -
If we are using a temporary buffer for filtering, be sure to clear it before using it, in case the file that we are filtering is empty.
Edward Thomson committed -
Jacques Germishuys committed
-
squash some leaks
Carlos Martín Nieto committed
-
- 24 Mar, 2015 6 commits
-
-
Edward Thomson committed
-
Add a custom param to git_smart_subtransport_definition
Edward Thomson committed -
WinHTTP for MinGW
Edward Thomson committed -
note: use a git_buf to return the default namespace
Edward Thomson committed -
examples: add remote example.
Carlos Martín Nieto committed -
checkout: report correct invalid path
Carlos Martín Nieto committed
-
- 23 Mar, 2015 1 commit
-
-
Edward Thomson committed
-
- 21 Mar, 2015 1 commit
-
-
In case of a bad url or other error during the connection setup, we close the stream via free.
Carlos Martín Nieto committed
-
- 20 Mar, 2015 2 commits
-
-
fix changelog
Edward Thomson committed -
Shawn Landden committed
-
- 19 Mar, 2015 5 commits
-
-
mkdir-ext: Assume directories don't exist; fix all race cases
Edward Thomson committed -
Vicent Marti committed
-
Tony Kelman committed
-
Patrick Steinhardt committed
-
win32 resource: allow custom comments field in DLL
Carlos Martín Nieto committed
-
- 18 Mar, 2015 8 commits
-
-
Edward Thomson committed
-
Allow merges of files (and trees) with whitespace problems/fixes
Edward Thomson committed -
The smart transport has already take the payload param. For the sub transport a payload param is useful for the implementer.
Leo Yang committed -
clar: update to 08f434d
Carlos Martín Nieto committed -
Update tips fixes
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Lower case the include directive of windows header
Edward Thomson committed -
PERF: In MERGE, lazily compute is_binary
Edward Thomson committed
-
- 17 Mar, 2015 6 commits
-
-
Edward Thomson committed
-
Initialize refs vector in git_remote_update_tips().
Edward Thomson committed -
Otherwise, bailing out early when ls_to_vector() fails accesses uninitialized memory.
Sebastian Bauer committed -
The caller has otherwise no way to know how long the string will be allocated or ability to free it. This fixes #2944.
Carlos Martín Nieto committed -
Tony Kelman committed
-
Jacques Germishuys committed
-