projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78cb59c
)
Fix a "label defined but unreferenced" warning.
author
Ramsay Jones
<ramsay@ramsay1.demon.co.uk>
Sat, 3 Mar 2007 18:28:46 +0000
(18:28 +0000)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 4 Mar 2007 02:43:25 +0000
(18:43 -0800)
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c
patch
|
blob
|
history
diff --git
a/refs.c
b/refs.c
index 63877037893603c385e63547c83ea8c59f7c3101..a9b8c72c6b6ea017f36639f01c997275299b16ad 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-1042,7
+1042,9
@@
int create_symref(const char *ref_target, const char *refs_heads_master,
return -1;
}
+#ifndef NO_SYMLINK_HEAD
done:
+#endif
if (logmsg && !read_ref(refs_heads_master, new_sha1))
log_ref_write(ref_target, old_sha1, new_sha1, logmsg);