Files
git/Documentation
Johannes Schindelin c44a4c650c 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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-07-27 15:35:06 -07:00
..
2017-07-21 15:13:25 -07: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
2015-07-21 14:08:14 -07:00
2016-08-11 14:35:42 -07:00
2017-06-27 10:35:49 -07:00
2015-10-05 12:30:13 -07:00
2017-07-12 15:18:21 -07:00
2017-06-05 09:05:38 +09: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