Re: [PATCH] filter-branch: Remove broken and unnecessary summary of rewritten refs.
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Dec 18, 2007, 11:21 UTC
- Message-ID
- <4767AD2E.4040906@viscovery.net>
- In-Reply-To
- <7vejdk1g3h.fsf@gitster.siamese.dyndns.org>
Junio C Hamano schrieb:
> Sounds sensible. Applied.
It seems lately I can't get a thing right on the first try. Would you please squash this in as long as you haven't pushed out the commit? $count is now unused.
Thank you!
--- >8 ---
diff --git a/git-filter-branch.sh b/git-filter-branch.sh index e730897..f8bdc14 100755 --- a/git-filter-branch.sh +++ b/git-filter-branch.sh @@ -342,7 +342,6 @@ done < "$tempdir"/heads _x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]' _x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40" -count=0 echo while read ref do @@ -380,7 +379,6 @@ do ;; esac git update-ref -m "filter-branch: backup" "$orig_namespace$ref" $sha1 - count=$(($count+1)) done < "$tempdir"/heads # TODO: This should possibly go, with the semantics that all positive given