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

gitk: Correct a few strings and comments to say "git log"

... instead of "git rev-list", since we now use git log for generating the list of commits. Signed-off-by: Paul Mackerras <paulus@samba.org>

Paul Mackerras committed Mar 4, 2008 at 21:14 UTC f9e0b6fb60581120b62376ca408dcd45d4bf916f
1 file changed +5 -5
gitk
+5 -5
@@ -90,7 +90,7 @@ proc dorunq {} {
90 }
91 }
92
93 -# Start off a git rev-list process and arrange to read its output
93 +# Start off a git log process and arrange to read its output
94 proc start_rev_list {view} {
95 global startmsecs
96 global commfd leftover tclencoding datemode
@@ -1009,10 +1009,10 @@ proc getcommitlines {fd inst view updating} {
1009 }
1010 if {[string range $err 0 4] == "usage"} {
1011 set err "Gitk: error reading commits$fv:\
1012 - bad arguments to git rev-list."
1012 + bad arguments to git log."
1013 if {$viewname($view) eq "Command line"} {
1014 append err \
1015 - " (Note: arguments to gitk are passed to git rev-list\
1015 + " (Note: arguments to gitk are passed to git log\
1016 to allow selection of commits to be displayed.)"
1017 }
1018 } else {
@@ -1280,7 +1280,7 @@ proc parsecommit {id contents listed} {
1280 set headline [string trimright [string range $headline 0 $i]]
1281 }
1282 if {!$listed} {
1283 - # git rev-list indents the comment by 4 spaces;
1283 + # git log indents the comment by 4 spaces;
1284 # if we got this via git cat-file, add the indentation
1285 set newcomment {}
1286 foreach line [split $comment "\n"] {
@@ -2714,7 +2714,7 @@ proc vieweditor {top n title} {
2714 -variable newviewperm($n)
2715 grid $top.perm - -pady 5 -sticky w
2716 message $top.al -aspect 1000 \
2717 - -text [mc "Commits to include (arguments to git rev-list):"]
2717 + -text [mc "Commits to include (arguments to git log):"]
2718 grid $top.al - -sticky w -pady 5
2719 entry $top.args -width 50 -textvariable newviewargs($n) \
2720 -background $bgcolor