Changeset a696331 in lab.git for misc


Ignore:
Timestamp:
Apr 14, 2013 5:44:20 PM (12 years ago)
Author:
mitty <mitty@…>
Branches:
master, trunk
Children:
151083b
Parents:
b14ab8e
Message:
  • 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/git.cmd

    rb14ab8e ra696331  
    1010 
    1111 
    12 for /f "tokens=2" %%i in ('git branch') do set BRANCH=%%i 
     12for /f "tokens=2" %%i in ('git.exe branch') do set BRANCH=%%i 
    1313prompt $P (%BRANCH%) $G 
    1414 
Note: See TracChangeset for help on using the changeset viewer.