summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-02-08 17:47:17 -0500
committerShawn O. Pearce <spearce@spearce.org>2007-02-08 18:14:44 -0500
commitdb7f34d4c54c1162d976be4d1752642c85e063b4 (patch)
treecd22ad2375bbdb293536e650a58f3e8ab84f0dba /commit.c
parent64a906f8611ee195efcde76f5587c8e08bac7a25 (diff)
downloadgit-db7f34d4c54c1162d976be4d1752642c85e063b4.tar.gz
git-gui: Optionally save commit buffer on exit.
If the commit area does not exist, don't save the commit message to a file, or the window geometry. The reason I'm doing this is I want to make the main window entirely optional, such as if the user has asked us to show a blame from the command line. In such cases the commit area won't exist and trying to get its text would cause an error. If we are running without the commit message area, we cannot save our window geometry either, as the root window '.' won't be a normal commit window. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions