summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2008-09-12 22:43:49 +0400
committerShawn O. Pearce <spearce@spearce.org>2008-09-24 09:53:01 -0700
commit1e65c6225dea2e15df81f6c91927cb0b8fab443c (patch)
tree548d2536dee1b9ab93c0ae63013c442b87945395 /git-gui/lib/commit.tcl
parent146ed90f020bb19446020d9b858242f176777797 (diff)
downloadgit-1e65c6225dea2e15df81f6c91927cb0b8fab443c.tar.gz
git-gui: Add more integration options to citool.
- Make citool return nonzero exit code if it did not commit. - Add a mode where it does not actually commit and simply exits with zero code. Commit message is either disabled, or simply dumped to GITGUI_EDITMSG before exiting. - Add an option to immediately start it in amend mode. Rationale: 1) Use 'git citool --nocommit' instead of mergetool in scripts. 2) Use 'git citool --amend' to edit commits while rebasing. Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions