diff options
author | Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> | 2011-02-06 13:43:32 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-10 14:08:07 -0800 |
commit | 10ffca7db2946b4392a38a8f114a0cb3fd6e069c (patch) | |
tree | 31c12c89a5e57dce712e7b86aea9e6d810d02c22 /git-gui/GIT-VERSION-GEN | |
parent | 02ac45fa628ef7c529e63bb99fe198704606e7f8 (diff) | |
download | git-10ffca7db2946b4392a38a8f114a0cb3fd6e069c.tar.gz git-10ffca7db2946b4392a38a8f114a0cb3fd6e069c.tar.xz |
rebase: read state outside loop
The 'onto_name' state used in 'git rebase --merge' is currently read
once for each commit that need to be applied. It doesn't change
between each iteration, however, so it should be moved out of the
loop. This also makes the code more readable. Also remove the unused
variable 'end'.
Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions