diff options
author | Jay Soffian <jaysoffian@gmail.com> | 2011-10-08 14:39:52 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-12 13:17:18 -0700 |
commit | 66f4b98ad9a8218ad97b7b2f1604b205072dda62 (patch) | |
tree | be94cc4c5e014b0f932a6a1d46901961a23478d8 /contrib/convert-objects | |
parent | Git 1.7.7 (diff) | |
download | tgif-66f4b98ad9a8218ad97b7b2f1604b205072dda62.tar.xz |
Teach merge the '[-e|--edit]' option
Implemented internally instead of as "git merge --no-commit && git commit"
so that "merge --edit" is otherwise consistent (hooks, etc) with "merge".
Note: the edit message does not include the status information that one
gets with "commit --status" and it is cleaned up after editing like one
gets with "commit --cleanup=default". A later patch could add the status
information if desired.
Note: previously we were not calling stripspace() after running the
prepare-commit-msg hook. Now we are, stripping comments and
leading/trailing whitespace lines if --edit is given, otherwise only
stripping leading/trailing whitespace lines if not given --edit.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/convert-objects')
0 files changed, 0 insertions, 0 deletions