Changeset 212 in lab


Ignore:
Timestamp:
Apr 14, 2013 5:44:20 PM (12 years ago)
Author:
mitty
Message:
  • fix: use 'git branch' in for loop causes infinity loop of forking cmd.exe
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/misc/git.cmd

    r211 r212  
    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.