[PATCH] Allow "-" as a short-hand for "@{-1}" for branch deletion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Dinesh <dpdineshp2@xxxxxxxxx>

This patch allows the usage of "-" as a short-hand for "@{-1}" in 
"git branch -d @{-1}".

Note : This is a microproject that is part of the Google Summer 
of Code application process.I am interested in working on the git 
Beginner mode implementation as part of Google Summer of Code. The 
mentor details for this particular project are not available on 
the Ideas page. The mentors are likely on this mailing list, so 
I request the mentors to drop me a mail so I can get in contact 
with you to further discuss the git Beginner mode project.
***

Dinesh (1):
  branch.c: Allow "-" as a short-hand for "@{-1}" in "git branch -d
    @{-1}"

 builtin/branch.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

-- 
2.8.0.rc0

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]