Bugfix for branchContains Fix the branch
commit7b03efd47d69574510693d4fedf5fa90fa05285d
authorSverre Rabbelier <sverre@rabbelier.nl>
Tue, 15 Jul 2008 00:06:04 +0000 (15 02:06 +0200)
committerSverre Rabbelier <sverre@rabbelier.nl>
Tue, 15 Jul 2008 00:06:04 +0000 (15 02:06 +0200)
tree31fa23feef16ba956f5009c1311c6d7900dc1b14
parent241f5bb73a9eac8f1e5008e83f9059a8b1dfef86
Bugfix for branchContains Fix the branch

When re-using the code to get all branchnames and then
storing it as branchname/hash the %(objectname) was not
changed to %(refname), as a result the stored 'name' for
the hash was the hash itself.
This fixes that and also introduces a way to specify
multiple branches as branch-filter. In the proces it fixes
the bug caused by passing a string to set() where a array
with just one string should have been passed.

Bug-introduced-in: af2fff8d9d6a7973a6b86ddac26188683a78a51a
src/git_stats/bug.py