Re: [PATCH/RFC] checkout: print something when checking out paths

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

 



Duy Nguyen <pclouds@xxxxxxxxx> writes:

> Another thing I'm going to change (if this v1 is in the right
> direction): print different messages for "git checkout -- foo" and
> "git checkout foo -- bar". The first one is "%d paths have been
> reverted" but the second one does different things and probably should
> say "%d paths have been updated from branch foo" or something like
> that.

I actually think that it is a bad idea to deliberately use such
misleading words like "revert", that will discourage users from
weaning themselves off of SVN.  "checked out N paths out of the
index", "checked out N paths out of the commit X" and "checked out N
paths out of branch B" would be clear enough and won't have such a
problem---otherwise you are encouraging them to make a mistake

	echo garbage >path
	... say oops ...
	git revert path




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

  Powered by Linux