filter-branch: work correctly with ambiguous refnames
authorJunio C Hamano <gitster@pobox.com>
Sat, 5 Jan 2008 20:18:43 +0000 (12:18 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jan 2008 02:41:43 +0000 (18:41 -0800)
commit418fa3a5c9111e675d8fcd3271315c38cdb1f16b
tree727d46641f1f967e19709c2a4988fee4b99d8297
parenta6d97d49e23382027efff8a8e90e69e0572620c6
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.sh