Re: git-stash: RFC: Adopt the default behavior to other commands
- From
Sebastian Harl <sh@tokkee.org>
- Date
- Dec 18, 2007, 10:59 UTC
- Message-ID
- <20071218105941.GA17251@albany.tokkee.org>
- In-Reply-To
- <7vfxy04ze7.fsf@gitster.siamese.dyndns.org>
Hi,
On Mon, Dec 17, 2007 at 04:31:12PM -0800, Junio C Hamano wrote:
Show 10 quoted lines
> But the original point by Sebastian hasn't been answered. He wanted to > make the command list the stash without arguments. > > This was discussed already in the early days of stash and there indeed > was a suggestion to do so (I think I sided with that), but the users did > not want it. IIRC, the argument went like: "when I say 'stash', that is > because I want a quick and immediate way to stash, and I do not want a > list. If I do not have to have a quick way, I would create a temporary > commit on the current branch, or switch to a temporary branch and commit > there."
Well, "git stash save" is just five characters more - I really don't see why this would be less comfortable (and for the really lazy people there are still aliases...). On the other hand (if "list" is the default), we'd get a more consistent interface which imho is imho more important than typing five characters less.
Cheers, Sebastian
-- Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin