git commit --amen

2012-10-04 Thread ®om
Hi, Is it normal that git commit --amen actually works ? (it does like --amend) version 1.7.10.4 ®om -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: git commit --amen

2012-10-04 Thread Phil Hord
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

Re: git commit --amen

2012-10-04 Thread Erik Faye-Lund
On Thu, Oct 4, 2012 at 4:38 PM, Romain Vimont (®om) r...@rom1v.com wrote: 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 This is because git-diff doesn't yet use the parse-options API, but instead

Re: git commit --amen

2012-10-04 Thread Junio C Hamano
Phil Hord phil.h...@gmail.com writes: 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

Re: git commit --amen

2012-10-04 Thread Junio C Hamano
Erik Faye-Lund kusmab...@gmail.com writes: On Thu, Oct 4, 2012 at 4:38 PM, Romain Vimont (®om) r...@rom1v.com wrote: 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 This is because git-diff

Re: git commit --amen

2012-10-04 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: Phil Hord phil.h...@gmail.com writes: 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