Files
git/Documentation
Johannes Schindelin 74c6843f16 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.

While at it, clarify how the fixup/squash feature works in `git rebase
-i`'s man page.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2017-09-26 11:01:29 +02:00
..
2017-09-22 14:51:37 +09:00
2016-07-13 11:24:14 -07:00
2016-10-10 14:03:51 -07:00
2017-04-13 16:15:25 -07:00
2017-01-18 15:12:12 -08:00
2016-08-11 14:35:42 -07:00
2017-06-27 10:35:49 -07:00
2017-07-12 15:18:21 -07:00
2017-05-16 11:13:00 +09:00
2017-01-18 15:12:18 -08:00
2017-05-01 11:01:52 +09:00
2017-06-22 15:25:25 -07:00