Index: git_map.py |
diff --git a/git_map.py b/git_map.py |
index 6fec89d37f442b52f03cef733cb51634e9e4ef1a..65814b9f337becee3d85e697b7ab574ba9ee8fb9 100755 |
--- a/git_map.py |
+++ b/git_map.py |
@@ -50,6 +50,7 @@ def main(): |
current = current_branch() |
all_branches = set(branches()) |
merge_base_map = {b: get_or_create_merge_base(b) for b in all_branches} |
+ merge_base_map = {b: v for b, v in merge_base_map.iteritems() if v} |
iannucci
2014/05/15 22:20:17
this fixes a bug for branches which have NO upstre
|
if current in all_branches: |
all_branches.remove(current) |
all_tags = set(tags()) |