Code

filter-branch: update current branch when rewritten
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 17 Oct 2007 02:23:10 +0000 (03:23 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 17 Oct 2007 02:47:51 +0000 (22:47 -0400)
commit46eb449cbefac461659c42c4ba4b36de1959e7ca
tree09e62ea604255458202b67723e54684869c8380d
parent8ef44519a64d3ac863a9a3a6dbdba09ea275c822
filter-branch: update current branch when rewritten

Earlier, "git filter-branch --<options> HEAD" would not update the
working tree after rewriting the branch.  This commit fixes it.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-filter-branch.sh
t/t7003-filter-branch.sh