"Johannes Schindelin via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes: > From: Johannes Schindelin <johannes.schindelin@xxxxxx> > > Currently, when called with exactly two arguments, we test for a literal > `..` in each of the two. > > However, `<commit>^!` is a perfectly valid commit range, equivalent to > `<commit>^..<commit>` according to the `SPECIFYING RANGES` section of > gitrevisions[7]. > > In preparation for allowing more sophisticated ways to specify commit > ranges, let's refactor the conditional into its own function. Makes sense.