]> git.ipfire.org Git - thirdparty/git.git/commit - git-filter-branch.sh
filter-branch: Simplify parent computation.
authorJohannes Sixt <johannes.sixt@telecom.at>
Fri, 8 Jun 2007 21:28:39 +0000 (23:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 9 Jun 2007 19:20:20 +0000 (12:20 -0700)
commit813b4734fcb82e541658b33b8563387c197d6247
treedab2ae07264c3b8684334dfa7051904c134a3d61
parent685ef546b62d063c72b401cd38b83a879301aac4
filter-branch: Simplify parent computation.

We can use git rev-list --parents when we list the commits to rewrite.
It is not necessary to run git rev-list --parents for each commit in the
loop.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh