From: Jonathan Nieder Date: Sat, 6 Mar 2010 22:48:38 +0000 (-0600) Subject: gitk: Add comments to explain encode_view_opts and decode_view_opts X-Git-Tag: v1.7.1-rc2~6^2~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e7feb695bf93d57c1c5fdf9f2acc2039e3fdf850;p=git.git 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 --- diff --git a/gitk b/gitk index a47abc137..140fe1f39 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