 8ead1bfe11
			
		
	
	8ead1bfe11
	
	
	
		
			
			git-gui 0.17.0 * tag 'gitgui-0.17.0' of git://repo.or.cz/git-gui: git-gui 0.17 git-gui: Don't prepend the prefix if value looks like a full path git-gui: Detect full path when parsing arguments git-gui: remove .git/CHERRY_PICK_HEAD after committing git-gui: Fix a loose/lose mistake git-gui: Fix semi-working shortcuts for unstage and revert git-gui: de.po: translate "remote" as "extern" git-gui: de.po: translate "bare" as "bloß" git-gui: de.po: consistently add untranslated hook names within braces git-gui: preserve commit messages in utf-8 git-gui: open console when using --trace on windows git-gui: fix a typo in po/ files git-gui: Use PWD if it exists on Mac OS X git-gui: fix git-gui crash due to uninitialized variable
		
			
				
	
	
		
			25 lines
		
	
	
		
			608 B
		
	
	
	
		
			Tcl
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			608 B
		
	
	
	
		
			Tcl
		
	
	
	
	
	
| set gitexecdir {@@gitexecdir@@}
 | |
| set gitguilib  {@@GITGUI_LIBDIR@@}
 | |
| set env(PATH) "$gitexecdir:$env(PATH)"
 | |
| 
 | |
| if {[string first -psn [lindex $argv 0]] == 0} {
 | |
| 	lset argv 0 [file join $gitexecdir git-gui]
 | |
| }
 | |
| 
 | |
| if {[file tail [lindex $argv 0]] eq {gitk}} {
 | |
| 	set argv0 [lindex $argv 0]
 | |
| 	set AppMain_source $argv0
 | |
| } else {
 | |
| 	set argv0 [file join $gitexecdir [file tail [lindex $argv 0]]]
 | |
| 	set AppMain_source [file join $gitguilib git-gui.tcl]
 | |
| 	if {[info exists env(PWD)]} {
 | |
| 		cd $env(PWD)
 | |
| 	} elseif {[pwd] eq {/}} {
 | |
| 		cd $env(HOME)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| unset gitexecdir gitguilib
 | |
| set argv [lrange $argv 1 end]
 | |
| source $AppMain_source
 |