diff options
author | Martin Langhoff <martin@catalyst.net.nz> | 2006-05-08 10:03:37 +1200 |
---|---|---|
committer | Martin Langhoff <martin@catalyst.net.nz> | 2006-05-08 10:03:37 +1200 |
commit | 50c08d48722149d95f46bcc80a5211ea04b8a809 (patch) | |
tree | 15c465be37ba4fdd8824edb95085b81076b73af9 /refs.c | |
parent | cvsserver: use git-rev-list instead of git-log (diff) | |
parent | Fix users of prefix_path() to free() only when necessary (diff) | |
download | tgif-50c08d48722149d95f46bcc80a5211ea04b8a809.tar.xz |
Merge with git://kernel.org/pub/scm/git/git.git
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -76,8 +76,8 @@ int create_symref(const char *git_HEAD, const char *refs_heads_master) char ref[1000]; int fd, len, written; -#ifdef USE_SYMLINK_HEAD - if (!only_use_symrefs) { +#ifndef NO_SYMLINK_HEAD + if (prefer_symlink_refs) { unlink(git_HEAD); if (!symlink(refs_heads_master, git_HEAD)) return 0; |