aboutsummaryrefslogtreecommitdiffstats
path: root/builtin-commit.c
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2009-12-08 12:13:14 +0900
committerJunio C Hamano <gitster@pobox.com>2010-01-06 17:18:56 -0800
commitf59baa502f49c3f1579a82bc37d2bb3ce9e7b5da (patch)
tree68571e1d4bc751a39720cc57871c1d20f8e8b3be /builtin-commit.c
parentAdd a command "fixup" to rebase --interactive (diff)
downloadgit-f59baa502f49c3f1579a82bc37d2bb3ce9e7b5da.tar.gz
git-f59baa502f49c3f1579a82bc37d2bb3ce9e7b5da.zip
rebase -i --autosquash: auto-squash commits
Teach a new option, --autosquash, to the interactive rebase. When the commit log message begins with "!fixup ...", and there is a commit whose title begins with the same ..., automatically modify the todo list of rebase -i so that the commit marked for squashing come right after the commit to be modified, and change the action of the moved commit from pick to squash. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-commit.c')
0 files changed, 0 insertions, 0 deletions