There was a little bug in the brace expansion which should remove
the ^{} from the tagname. It used ${name#'^{}'} instead of $(name%'^{}'},
the difference is that '#' will remove the given pattern only from the
beginning of a string and '%' only from the end of a string.
Signed-off-by: Michael Loeffler <zvpunry@zvpunry.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
while read sha1 name
do
mapped=${name#"$from"}
- if test "z$name" != "z${name#'^{}'}" ||
+ if test "z$name" != "z${name%'^{}'}" ||
test "z$name" = "z$mapped"
then
continue