From: Kenny Lee Sin Cheong Date: Mon, 16 Mar 2015 15:11:41 GMT Subject: [PATCH/RFC 0/2][GSoC] revision.c: Allow "-" as stand-in for "@{-1}" everywhere a branch is allowed Message-ID: <1426518703-15785-1-git-send-email-kenny.lee28@gmail.com> This is an attempt at a microproject for GSoC An attempt to add revision range support to Junio's JFF patch sent a few days ago. The first patch is the a copy of the one he posted. I was wondering if it was a good idea to add support for commands like "..-". Files that starts with "-" requires "--" or a "./" format but what if we have a file named "next..-" and call "git log next..-" ? Junio C Hamano (1): "-" and "@{-1}" on various programs Kenny Lee Sin Cheong (1): Add revision range support on "-" and "@{-1}" builtin/checkout.c | 3 --- builtin/merge.c | 3 +-- builtin/revert.c | 2 -- revision.c | 16 +++++++++++++-- sha1_name.c | 57 +++++++++++++++++++++++++++++++++--------------------- 5 files changed, 50 insertions(+), 31 deletions(-) -- 2.3.2.225.gebdc58a