Closed fingolfin closed 11 years ago
I'm not sure I addressed this as "better" but after #80, closed branches only show up if the user explicitly sets the GITIFYHG_ALLOW_CLOSED_BRANCHES environment variable. See the commit on #80 for more information.
I feel a better configuration setup than environment variables is justified here, but this is the route I want to go going forward.
Right now, I get a warning like this upon each fetch on a repository I work on:
WARNING: "Branch 'foobar' has more than one head, consider merging"
It is true that the branch foobar has two heads: One is the actual in-use head, the other is a "closed" head, marked by one of our devs as unused. It would be nice if gitifiyhg would not print that warning for closed heads. At least by default.
To reproduce this, consider this example: