summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-04-26 16:00:00 +1000
committerPaul Mackerras <paulus@samba.org>2008-04-26 16:00:00 +1000
commit3ed31a8120ec78c495206c89cf5d421d9198f847 (patch)
treea4b353fd1d68f4a859f6a7476fc522af289c037a /git-gui/lib/commit.tcl
parent92e22ca0a22a916a806d801f8d2f5f26bc92ddc4 (diff)
downloadgit-3ed31a8120ec78c495206c89cf5d421d9198f847.tar.gz
gitk: Reorganize processing of arguments for git log
This moves the scanning of the argument list for each view into a new function, parseviewargs, which is called from start_rev_list. This also makes the date mode and the merge mode be per-view rather than global. In merge mode, we work out the list of relevant files in a new function called from start_rev_list, so it will be updated on File->Reload. Plus we now do that after running the argscmd, so if we have one and it generates a -d or --merge option they will be correctly handled now. The other thing this does is to make errors detected in start_rev_list not be fatal. Now instead of doing exit 1 we just pop up and error window and put "No commits selected" in the graph pane. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions