]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'cm/rebase-i-fixup-amend-reword'
authorJunio C Hamano <gitster@pobox.com>
Fri, 26 Mar 2021 21:59:03 +0000 (14:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Mar 2021 21:59:03 +0000 (14:59 -0700)
"git commit --fixup=<commit>", which was to tweak the changes made
to the contents while keeping the original log message intact,
learned "--fixup=(amend|reword):<commit>", that can be used to
tweak both the message and the contents, and only the message,
respectively.

* cm/rebase-i-fixup-amend-reword:
  doc/git-commit: add documentation for fixup=[amend|reword] options
  t3437: use --fixup with options to create amend! commit
  t7500: add tests for --fixup=[amend|reword] options
  commit: add a reword suboption to --fixup
  commit: add amend suboption to --fixup to create amend! commit
  sequencer: export and rename subject_length()

1  2 
builtin/commit.c
commit.c
commit.h
sequencer.c
t/t7500-commit-template-squash-signoff.sh

Simple merge
diff --cc commit.c
Simple merge
diff --cc commit.h
Simple merge
diff --cc sequencer.c
Simple merge