@matheusbsbs / matheus-bagliano / commits / e7feb695bf
Fork 0

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>

Jonathan Nieder committed Mar 6, 2010 at 16:48 UTC e7feb695bf93d57c1c5fdf9f2acc2039e3fdf850
1 file changed +2
gitk
+2
@@ -3851,6 +3851,7 @@ set known_view_options {
3851 {cmd t50= + {} {mc "Command to generate more commits to include:"}}
3852 }
3853
3854 +# Convert $newviewopts($n, ...) into args for git log.
3855 proc encode_view_opts {n} {
3856 global known_view_options newviewopts
3857
@@ -3884,6 +3885,7 @@ proc encode_view_opts {n} {
3885 return [concat $rargs [shellsplit $newviewopts($n,args)]]
3886 }
3887
3888 +# Fill $newviewopts($n, ...) based on args for git log.
3889 proc decode_view_opts {n view_args} {
3890 global known_view_options newviewopts
3891