Re: [PATCH] Inconsistency between git log and git rev-parse for ^HEAD^@

2017-03-18 Thread Andreas Gruenbacher
On Sat, Mar 18, 2017 at 9:18 PM, Junio C Hamano wrote: > Andreas Gruenbacher writes: > >> Hello, >> >> the log and rev-parse commands both support the rev^@ syntax which stands for >> all parents of rev. The log command also supports ^rev^@ to exclude all of >> the >> parents of rev, but rev-pa

Re: [PATCH] Inconsistency between git log and git rev-parse for ^HEAD^@

2017-03-18 Thread Junio C Hamano
Andreas Gruenbacher writes: > Hello, > > the log and rev-parse commands both support the rev^@ syntax which stands for > all parents of rev. The log command also supports ^rev^@ to exclude all of > the > parents of rev, but rev-parse does not. Should this be fixed? > > If so, the following pat

[PATCH] Inconsistency between git log and git rev-parse for ^HEAD^@

2017-03-18 Thread Andreas Gruenbacher
Hello, the log and rev-parse commands both support the rev^@ syntax which stands for all parents of rev. The log command also supports ^rev^@ to exclude all of the parents of rev, but rev-parse does not. Should this be fixed? If so, the following patch would be a start. Thanks, Andreas -- re