git-stash: RFC: Adopt the default behavior to other commands
- From
Sebastian Harl <sh@tokkee.org>
- Date
- Dec 17, 2007, 11:03 UTC
- Message-ID
- <20071217110322.GH14889@albany.tokkee.org>
Hi,
By default, git-stash (when called without any other arguments) creates a new stash. This is quite different to the behavior of most other Git commands (e.g. git-tag, git-branch, etc. do "list" by default). In order to improve consistency git-stash should imho adopt this as well.
The creation of a new stash should not do any harm. However, I think that consistency is more important (iirc this has been mentioned in the current survey a couple of times) and doing "list" is (in general) the best default.
Comments?
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