Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-27 04:49:00 +0300
committerJunio C Hamano <junkio@cox.net>2007-01-28 13:16:46 +0300
commit47fc52e2876ed3a54cd4b77e0b0c4875fa3317b8 (patch)
tree48ed1a524b2a77a0608fc22147334717b3e18342 /git-checkout.sh
parent8b5157e40718a2ee1d645c342d93df4e66335479 (diff)
create_symref(): do not assume pathname from git_path() persists long enough
Being lazy to rely on the cycling N buffers mkpath() and friends return is nice in general, but it makes it too easy to introduce new bugs that are "mysterious". Introduction of read_ref() in create_symref() after calling git_path() to get the git_HEAD value (i.e. the path to create a new symref at) consumed more than the available buffers and broke a later call to mkpath() that derives lockpath from it. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-checkout.sh')
0 files changed, 0 insertions, 0 deletions