aboutsummaryrefslogtreecommitdiff
path: root/builtin-unpack-objects.c
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2008-10-03 12:20:43 +0200
committerJunio C Hamano <gitster@pobox.com>2008-10-18 07:16:38 -0700
commit33b650308c9be52180c6556b17cb9fc1fba3adf4 (patch)
tree3799bb7fdc34a2939c147ab431f33c6f3656fd88 /builtin-unpack-objects.c
parent5c283eb13c94be6ca974aa722159dc9838d10d97 (diff)
downloadgit-33b650308c9be52180c6556b17cb9fc1fba3adf4.tar.gz
git-33b650308c9be52180c6556b17cb9fc1fba3adf4.tar.xz
Do not rename read-only files during a push
Win32 does not allow renaming read-only files (at least on a Samba share), making push into a local directory to fail. Thus, defer the chmod() call in index-pack.c:final() only after move_temp_to_file() was called. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'builtin-unpack-objects.c')
0 files changed, 0 insertions, 0 deletions