Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule init: initialize active submodules
[gitweb.git]
/
builtin
/
update-ref.c
diff --git
a/builtin/update-ref.c
b/builtin/update-ref.c
index 7f30d3a76f69e58ae3cdbbe05c5ebdce6c8a120d..0b2ecf41aeda427e75eb7fe36388e7d0d91d5413 100644
(file)
--- a/
builtin/update-ref.c
+++ b/
builtin/update-ref.c
@@
-433,7
+433,7
@@
int cmd_update_ref(int argc, const char **argv, const char *prefix)
* For purposes of backwards compatibility, we treat
* NULL_SHA1 as "don't care" here:
*/
- return delete_ref(refname,
+ return delete_ref(
msg,
refname,
(oldval && !is_null_sha1(oldsha1)) ? oldsha1 : NULL,
flags);
else