author | Junio C Hamano <gitster@pobox.com> | |
Sat, 5 Jan 2008 20:18:43 +0000 (12:18 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 7 Jan 2008 02:41:43 +0000 (18:41 -0800) | ||
commit | 418fa3a5c9111e675d8fcd3271315c38cdb1f16b | |
tree | 727d46641f1f967e19709c2a4988fee4b99d8297 | tree | snapshot |
parent | a6d97d49e23382027efff8a8e90e69e0572620c6 | commit | diff |
filter-branch: work correctly with ambiguous refnames
'git-filter-branch branch' could fail producing the error:
"Which ref do you want to rewrite?" if existed another branch
or tag, which name was 'branch-something' or 'something/branch'.
[jc: original report and fix were done between Dmitry Potapov
and Dscho; I rewrote it using "rev-parse --symbolic-full-name"]
Signed-off-by: Junio C Hamano <gitster@pobox.com>
'git-filter-branch branch' could fail producing the error:
"Which ref do you want to rewrite?" if existed another branch
or tag, which name was 'branch-something' or 'something/branch'.
[jc: original report and fix were done between Dmitry Potapov
and Dscho; I rewrote it using "rev-parse --symbolic-full-name"]
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh | diff | blob | history |