git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dinesh Polathula <dpdineshp2@gmail.com>
To: git@vger.kernel.org
Cc: Dinesh <dpdineshp2@gmail.com>
Subject: [PATCH] Allow "-" as a short-hand for "@{-1}" for branch deletion
Date: Sat,  5 Mar 2016 13:09:05 +0530	[thread overview]
Message-ID: <1457163546-11970-1-git-send-email-dpdineshp2@gmail.com> (raw)

From: Dinesh <dpdineshp2@gmail.com>

***
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

             reply	other threads:[~2016-03-05  7:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-05  7:39 Dinesh Polathula [this message]
2016-03-05  7:39 ` [PATCH] branch.c: Allow "-" as a short-hand for "@{-1}" in "git branch -d @{-1}" Dinesh Polathula
2016-03-05  8:06 ` [PATCH] Allow "-" as a short-hand for "@{-1}" for branch deletion Junio C Hamano
  -- strict thread matches above, loose matches on Subject: below --
2016-03-05 11:06 Dinesh Polathula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457163546-11970-1-git-send-email-dpdineshp2@gmail.com \
    --to=dpdineshp2@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).