Re: git commit --amen

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

 



Great !
Thank you for your answer ;-)

It does not seem to work with git diff:
git diff --cache     #missing d
git diff --cumulativ #missing e

®om

Le 2012-10-04 16:25, Phil Hord a écrit :
Is it normal that "git commit --amen" actually works ?
(it does like --amend)

version 1.7.10.4

Yes.  From Documentation/technical/api-parse-options.txt:

    * Long options may be 'abbreviated', as long as the abbreviation
      is unambiguous.

Apparently since 2008-06-22.

So 'git commit --am' also works.  But it should probably be avoided
because of its similarity to 'git commit -am'.

Phil

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