From a696331e4bdc03de5b1a929defbbae0ac5c6d874 Mon Sep 17 00:00:00 2001
From: mitty <mitty@7d2118f6-f56c-43e7-95a2-4bb3031d96e7>
Date: Sun, 14 Apr 2013 08:44:20 +0000
Subject: [PATCH]  * fix: use 'git branch' in for loop causes infinity loop of
 forking cmd.exe

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@212 7d2118f6-f56c-43e7-95a2-4bb3031d96e7
---
 misc/git.cmd |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/git.cmd b/misc/git.cmd
index a3b5a1c..ac17ae5 100644
--- 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
-- 
1.7.9.5