1#!/bin/sh
2# Tcl ignores the next line -*- tcl -*- \
3exec wish "$0" -- "$@"
45
if { $argc >=2 && [lindex $argv 0] == "--working-dir" } {
6cd [lindex $argv 1]
7set argv [lrange $argv 2 end]
8incr argc -2
9}
1011
set gitguidir [file dirname [info script]]
12regsub -all ";" $gitguidir "\\;" gitguidir
13set env(PATH) "$gitguidir;$env(PATH)"
14unset gitguidir
1516
source [file join [file dirname [info script]] git-gui.tcl]