Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitk: Add comments to explain encode_view_opts and decode_view_opts
author
Jonathan Nieder
<jrnieder@gmail.com>
Sat, 6 Mar 2010 22:48:38 +0000
(16:48 -0600)
committer
Paul Mackerras
<paulus@samba.org>
Sat, 20 Mar 2010 09:53:21 +0000
(20:53 +1100)
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>
gitk
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b9b142f
)
diff --git
a/gitk
b/gitk
index a47abc137b68474a09745db2119c4642a8c16f99..140fe1f395c90241208672239146bc7835f960e1 100755
(executable)
--- 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