diff options
| author | Petr Baudis <pasky@suse.cz> | 2008-10-03 12:20:43 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-10-18 07:16:38 -0700 |
| commit | 33b650308c9be52180c6556b17cb9fc1fba3adf4 (patch) | |
| tree | 3799bb7fdc34a2939c147ab431f33c6f3656fd88 /builtin-commit.c | |
| parent | Merge branch 'maint' (diff) | |
| download | git-33b650308c9be52180c6556b17cb9fc1fba3adf4.tar.gz git-33b650308c9be52180c6556b17cb9fc1fba3adf4.zip | |
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-commit.c')
0 files changed, 0 insertions, 0 deletions
