summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-03-06 16:48:38 -0600
committerPaul Mackerras <paulus@samba.org>2010-03-20 20:53:21 +1100
commite7feb695bf93d57c1c5fdf9f2acc2039e3fdf850 (patch)
treeac042fb15303493f03dbee80d553673112612d5c
parentb9b142ffa218b50dadad091bd660ba801d0ca5d5 (diff)
downloadgit-e7feb695bf93d57c1c5fdf9f2acc2039e3fdf850.tar.gz
gitk: Add comments to explain encode_view_opts and decode_view_opts
Summarize these functions to save the reader some time. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rwxr-xr-xgitk2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitk b/gitk
index a47abc137b..140fe1f395 100755
--- a/gitk
+++ b/gitk
@@ -3851,6 +3851,7 @@ set known_view_options {
{cmd t50= + {} {mc "Command to generate more commits to include:"}}
}
+# Convert $newviewopts($n, ...) into args for git log.
proc encode_view_opts {n} {
global known_view_options newviewopts
@@ -3884,6 +3885,7 @@ proc encode_view_opts {n} {
return [concat $rargs [shellsplit $newviewopts($n,args)]]
}
+# Fill $newviewopts($n, ...) based on args for git log.
proc decode_view_opts {n view_args} {
global known_view_options newviewopts