Re: [PATCH 3/3] stash: reject stash name starting with a dash.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <gitster@xxxxxxxxx> writes:

> It would be ideal if
>
> 	git stash save --invalid-option
>
> failed, while
>
> 	git stash --invalid-option should be trapped
>
> and/or
>
> 	git stash "--invalid-option should be trapped"
>
> are accepted as valid quickie ways to name a WIP stash before attending to
> an unrelated emergency.

Meh, let me take it back.  I somehow was living in 13 months ago for a
short while when I wrote the above.

9488e87 (git-stash: require "save" to be explicit and update
documentation, 2007-07-01) made the latter two invalid.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]