mirror of
https://github.com/git/git.git
synced 2026-01-26 18:44:50 +00:00
git-p4 was using "git name-rev" to find out the current branch. That is not safe, since if multiple branches or tags point at the same revision, the result obtained might not be what is expected. Instead use "git symbolic-ref". Signed-off-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
140 KiB
Executable File
140 KiB
Executable File