mirror of
https://github.com/git/git.git
synced 2025-03-24 03:49:57 +00:00
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>
This commit is contained in:
parent
b9b142ffa2
commit
e7feb695bf
2
gitk
2
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user