On Thu, Jun 19, 2008 at 12:51:55PM +0200, Pierre Habouzit wrote:
This has been discussed before, and the suggested term was "stale".
Check out:
http://thread.gmane.org/gmane.comp.version-control.git/73038/focus=73186
which is uncannily identical (the difference is the name, and that I
don't show the lagged branches unless -v is given).
Among the issues that were not sorted out last time:
- should stale branches be shown without -v?
- calling ref_newer here is inefficient, since we have already called
it in the other direction. We should probably do the traversal once
in such a way as to find out which ref is newer (or if it is
indeterminate).
- there is a possible danger with "git push -f", in that you force
both rejected branches as well as stale branches. Junio and I
discussed the possibility of disallowing "-f" unless the user
explicitly requested _what_ to push; i.e., --all, --matching,
--mirror, or a refspec. See:
http://thread.gmane.org/gmane.comp.version-control.git/74425/focus=74481
I was considering resurrecting my patch after working up that safety
valve.
-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html