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 "<rev>..-". 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 programsKenny 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(-)