projects
/
lab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b14ab8e
)
* fix: use 'git branch' in for loop causes infinity loop of forking cmd.exe
author
mitty
<mitty@7d2118f6-f56c-43e7-95a2-4bb3031d96e7>
Sun, 14 Apr 2013 08:44:20 +0000
(08:44 +0000)
committer
mitty
<mitty@7d2118f6-f56c-43e7-95a2-4bb3031d96e7>
Sun, 14 Apr 2013 08:44:20 +0000
(08:44 +0000)
git-svn-id: https://lab.mitty.jp/svn/lab/trunk@212
7d2118f6
-f56c-43e7-95a2-
4bb3031d96e7
misc/git.cmd
patch
|
blob
|
history
diff --git
a/misc/git.cmd
b/misc/git.cmd
index
a3b5a1c
..
ac17ae5
100644
(file)
--- a/
misc/git.cmd
+++ b/
misc/git.cmd
@@
-9,7
+9,7
@@
git.exe branch > NUL 2>&1
if %ERRORLEVEL% EQU 128 goto norepos
-for /f "tokens=2" %%i in ('git branch') do set BRANCH=%%i
+for /f "tokens=2" %%i in ('git.exe branch') do set BRANCH=%%i
prompt $P (%BRANCH%) $G
goto end