Skip to content

Commit

Permalink
Allow docbook repo script to prune remote branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyreese committed Nov 18, 2008
1 parent 8e2b958 commit 39e1efa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docbook-manual-repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def main():
# Update repo from default remote
os.chdir(repo)
os.system('git fetch')
os.system('git remote prune origin')

# List refs from remote branches and tags
branches = os.popen('git branch -r').read().split()
Expand Down

0 comments on commit 39e1efa

Please sign in to comment.