Files
git/builtin
Johannes Schindelin 3810bd4bdd rebase -i: rearrange fixup/squash lines using the rebase--helper
This operation has quadratic complexity, which is especially painful
on Windows, where shell scripts are *already* slow (mainly due to the
overhead of the POSIX emulation layer).

Let's reimplement this with linear complexity (using a hash map to
match the commits' subject lines) for the common case; Sadly, the
fixup/squash feature's design neglected performance considerations,
allowing arbitrary prefixes (read: `fixup! hell` will match the
commit subject `hello world`), which means that we are stuck with
quadratic performance in the worst case.

The reimplemented logic also happens to fix a bug where commented-out
lines (representing empty patches) were dropped by the previous code.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2016-09-02 18:16:00 +02:00
..
2016-06-07 17:43:39 -07:00
2016-07-13 11:24:10 -07:00
2016-08-31 10:03:50 -07:00
2016-07-25 14:13:32 -07:00
2016-08-03 15:10:28 -07:00
2016-08-03 15:10:28 -07:00
2016-06-17 15:46:10 -07:00
2016-08-12 09:47:39 -07:00
2016-07-14 15:50:41 -07:00
2016-08-17 14:07:46 -07:00
2016-07-25 14:13:33 -07:00
2016-07-13 11:24:10 -07:00
2016-04-29 12:59:09 -07:00