From e7feb695bf93d57c1c5fdf9f2acc2039e3fdf850 Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Sat, 6 Mar 2010 16:48:38 -0600 Subject: [PATCH] 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 Signed-off-by: Paul Mackerras --- gitk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitk b/gitk index a47abc1..140fe1f 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 -- 2.39.2