Skip to content

Commit e7feb69

Browse files
jrnpaulusmack
authored andcommitted
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 <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
1 parent b9b142f commit e7feb69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3851,6 +3851,7 @@ set known_view_options {
38513851
{cmd t50= + {} {mc "Command to generate more commits to include:"}}
38523852
}
38533853

3854+
# Convert $newviewopts($n, ...) into args for git log.
38543855
proc encode_view_opts {n} {
38553856
global known_view_options newviewopts
38563857

@@ -3884,6 +3885,7 @@ proc encode_view_opts {n} {
38843885
return [concat $rargs [shellsplit $newviewopts($n,args)]]
38853886
}
38863887

3888+
# Fill $newviewopts($n, ...) based on args for git log.
38873889
proc decode_view_opts {n view_args} {
38883890
global known_view_options newviewopts
38893891

0 commit comments

Comments
 (0)