From: Junio C Hamano Date: Sat, 18 Mar 2017 20:18:18 GMT Subject: Re: [PATCH] Inconsistency between git log and git rev-parse for ^HEAD^@ Message-ID: In-Reply-To: <1489866696-17487-1-git-send-email-agruenba@redhat.com> 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 patch would be a start. Hmph, would ^A..B and ^A...B also be turned into B..A and B...A in a similar way? I think the latter would not make much sense but ^A..B might. In any case, accepting ^rev^@ may make sense nevertheless.