mirror of
https://github.com/git/git.git
synced 2024-10-30 05:47:53 +01:00
Changed --known-branches to take a file as argument instead of a comma separated list.
Signed-off-by: Simon Hausmann <hausmann@kde.org>
This commit is contained in:
parent
3ef674bd4b
commit
934371385c
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@
|
|||
elif o == "--silent":
|
||||
silent= True
|
||||
elif o == "--known-branches":
|
||||
for branch in o.split(","):
|
||||
knownBranches.add(branch)
|
||||
for branch in open(a).readlines():
|
||||
knownBranches.add(branch[:-1])
|
||||
|
||||
if len(args) == 0 and len(globalPrefix) != 0:
|
||||
if not silent:
|
||||
|
|
Loading…
Reference in a new issue