Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix big left-shifts of unsigned char
[gitweb.git]
/
builtin-receive-pack.c
diff --git
a/builtin-receive-pack.c
b/builtin-receive-pack.c
index 4b9d9218d1ea5e270e1f0cab3eab72125cab9790..0b08da9b595432efa231eb59d88ecd2b422eb56a 100644
(file)
--- a/
builtin-receive-pack.c
+++ b/
builtin-receive-pack.c
@@
-710,7
+710,7
@@
int cmd_receive_pack(int argc, const char **argv, const char *prefix)
unpack_status = unpack();
execute_commands(unpack_status);
if (pack_lockfile)
- unlink(pack_lockfile);
+ unlink
_or_warn
(pack_lockfile);
if (report_status)
report(unpack_status);
run_receive_hook(post_receive_hook);