Re: [PATCH RFC] builtin-push: add --delete as syntactic sugar for :foo

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

 



Junio C Hamano <gitster@xxxxxxxxx> writes:

> Will it barf and error out if there is any colon-ful one?  I think it
> should.  I was about to write "I guess it could be argued both ways", but
> after thinking about it for 5 seconds I do not see a sane way to explain a
> command line "push origin --delete one two:three".

Actually the one I had in mind was

	git push origin --delete one two:three four

If it were

	git push origin --tags --delete=one --delete=four two:three

it would be perfectly understandable, though.

No, I am not saying that we should make --delete take a parameter, allow
multiple of them, and make them compatible with --tags.  At least not yet.

--
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]