summaryrefslogtreecommitdiffstats
path: root/subcmds/forall.py
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-03-02 12:30:50 -0800
committerShawn O. Pearce <sop@google.com>2009-03-02 12:38:36 -0800
commit3778f9d47e876aa15d3fdcc84ef21ec07c63402e (patch)
tree50567255e8aff349763f0b5740c0a834870acbb8 /subcmds/forall.py
parent993eedf9fabfad3e929a9161d00db4ae7d9c551c (diff)
downloadgit-repo-3778f9d47e876aa15d3fdcc84ef21ec07c63402e.tar.gz
Fix repo prune to work on git 1.6.1-rc3~5 and later
Prior to git 1.6.1-rc3~5 the output of 'git branch -d' matched: Deleted branch (.*)\. where the subgroup grabbed the branch name. In v1.6.1-rc3~5 (aka a126ed0a01e265d7f3b2972a34e85636e12e6d34) Brandon Casey changed the output to include the SHA-1 of the branch name, now matching the pattern: Deleted branch (.*) \([0-9a-f]*\)\. Instead of parsing the output of git branch we now re-obtain the list of branches after the deletion attempt and perform a set difference in memory to determine which branches we were able to successfully delete. Bug: REPO-9 Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'subcmds/forall.py')
0 files changed, 0 insertions, 0 deletions