mirror of
https://github.com/git/git.git
synced 2024-10-01 06:01:27 +02:00
git-gui: Display the git-gui version in the Help->About dialog.
Now that we know what version git-gui is, the about dialog should display it to the end-user. This way users can find out what version they have before they report a problem or request a feature. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
41bdcda373
commit
2f4479fb17
@ -2505,7 +2505,7 @@ proc do_commit {} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
proc do_about {} {
|
proc do_about {} {
|
||||||
global appname copyright
|
global appname appvers copyright
|
||||||
global tcl_patchLevel tk_patchLevel
|
global tcl_patchLevel tk_patchLevel
|
||||||
|
|
||||||
set w .about_dialog
|
set w .about_dialog
|
||||||
@ -2534,8 +2534,9 @@ $copyright" \
|
|||||||
-font font_ui
|
-font font_ui
|
||||||
pack $w.desc -side top -fill x -padx 5 -pady 5
|
pack $w.desc -side top -fill x -padx 5 -pady 5
|
||||||
|
|
||||||
set v [exec git --version]
|
set v {}
|
||||||
append v "\n\n"
|
append v "$appname version $appvers\n\n"
|
||||||
|
append v "[exec git --version]\n\n"
|
||||||
if {$tcl_patchLevel eq $tk_patchLevel} {
|
if {$tcl_patchLevel eq $tk_patchLevel} {
|
||||||
append v "Tcl/Tk version $tcl_patchLevel"
|
append v "Tcl/Tk version $tcl_patchLevel"
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user