Re: Cogito nit: cg-update should default to "origin".
- From
Petr Baudis <pasky@ucw.cz>
- Date
- Apr 28, 2005, 00:53 UTC
- Message-ID
- <20050428005337.GA3422@pasky.ji.cz>
- In-Reply-To
- <42702F20.3050200@dwheeler.com>
Dear diary, on Thu, Apr 28, 2005 at 02:32:32AM CEST, I got a letter where "David A. Wheeler" <dwheeler@dwheeler.com> told me that...
> Minor nit on Cogito: I think cg-update should default to "origin", > not the head, if you leave it unspecified. Instead, add an > option flag to specify the HEAD. The origin seems (to me) > to be a MUCH more common situation (and thus the better default).
Actually, I wasn't too happy with the current update-to-HEAD special case. Sure, it's similar to SVN, but SVN's concepts are totally different here, and this special case wart (which does really do something entirely different than normal cg-update) is one of the Cogito-related shadows in my mind. What about moving this special case to something like
cg-restore
and changing the defaulting of update and pull back to 'origin'? I think people do this cg-update without arguments so seldom that changing this now shouldn't hurt much, right?
Another thing is to UI-wise maintain clear difference between cg-cancel and cg-restore. Do you think the names are distinctive enough? Any better naming ideas?
Thanks,
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor