diff options
author | Junio C Hamano <junkio@cox.net> | 2007-04-07 01:30:43 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-07 01:30:43 -0700 |
commit | ced38ea252cb8b0315f4d2a54648b11c6c090657 (patch) | |
tree | 0c398a6bf408bb47fafc65c918b24b1bafeed7b1 /refs.c | |
parent | 77e6f5bc1009aa588a3b2235758bf5be13b23d85 (diff) | |
parent | d79073922fcb8c8a0bd57112817a2154f1ed05c1 (diff) | |
download | git-ced38ea252cb8b0315f4d2a54648b11c6c090657.tar.gz git-ced38ea252cb8b0315f4d2a54648b11c6c090657.tar.xz |
Merge branch 'maint'
* maint:
Documentation: tighten dependency for git.{html,txt}
Makefile: iconv() on Darwin has the old interface
t5300-pack-object.sh: portability issue using /usr/bin/stat
t3200-branch.sh: small language nit
usermanual.txt: some capitalization nits
Make builtin-branch.c handle the git config file
rename_ref(): only print a warning when config-file update fails
Distinguish branches by more than case in tests.
Avoid composing too long "References" header.
cvsimport: Improve formating consistency
cvsimport: Reorder options in documentation for better understanding
cvsimport: Improve usage error reporting
cvsimport: Improve documentation of CVSROOT and CVS module determination
cvsimport: sync usage lines with existing options
Conflicts:
Documentation/Makefile
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -828,16 +828,6 @@ int rename_ref(const char *oldref, const char *newref, const char *logmsg) goto rollback; } - if (!prefixcmp(oldref, "refs/heads/") && - !prefixcmp(newref, "refs/heads/")) { - char oldsection[1024], newsection[1024]; - - snprintf(oldsection, 1024, "branch.%s", oldref + 11); - snprintf(newsection, 1024, "branch.%s", newref + 11); - if (git_config_rename_section(oldsection, newsection) < 0) - return 1; - } - return 0; rollback: |