Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/git-gui/windows/git-gui.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / git-gui / windows / git-gui.sh` 17 lines ยท 451 bytes Raw Blame History 1 #!/bin/sh 2 # Tcl ignores the next line -*- tcl -*- \ 3 exec wish "$0" -- "$@" 4 5 if { $argc >=2 && [lindex $argv 0] == "--working-dir" } { 6 set workdir [lindex $argv 1] 7 cd $workdir 8 if {[lindex [file split $workdir] end] eq {.git}} { 9 # Workaround for Explorer right click "Git GUI Here" on .git/ 10 cd .. 11 } 12 set argv [lrange $argv 2 end] 13 incr argc -2 14 } 15 16 set thisdir [file normalize [file dirname [info script]]] 17 source [file join $thisdir git-gui.tcl]