git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Zeeshan Ali (Khattak)" <zeeshanak@gnome.org>
To: Holger Hellmuth <hellmuth@ira.uka.de>
Cc: "Junio C Hamano" <gitster@pobox.com>,
	"Stefan Näwe" <stefan.naewe@gmail.com>,
	git@vger.kernel.org
Subject: Re: Support of '^' as alias for 'HEAD^'
Date: Mon, 16 Jul 2012 00:48:09 +0300	[thread overview]
Message-ID: <CAAa3hFOEtx7d8QzCyBLJEw7kjEb0oPaT=EnFiY3DdApnkHt+hg@mail.gmail.com> (raw)
In-Reply-To: <500301BF.9080505@ira.uka.de>

On Sun, Jul 15, 2012 at 8:45 PM, Holger Hellmuth <hellmuth@ira.uka.de> wrote:
> Am 15.07.2012 00:24, schrieb Zeeshan Ali (Khattak):
>
>> On Sun, Jul 15, 2012 at 12:26 AM, Junio C Hamano<gitster@pobox.com>
>> wrote:
>>>
>>> "Zeeshan Ali (Khattak)"<zeeshanak@gnome.org>  writes:
>>>
>>>> What about '^' and '^^' that I suggested?
>
>
> If you want a shortcut, you might try this:
>
> echo "ref: HEAD" > .git/h
>
> Then you can use 'h' instead of 'HEAD'.
>
> Tested it and it seemed to work. If not someone on this list surely will
> correct me.

Thanks, was hoping to have something thats supported out of the box in
future git but I guess I can settle for a local hack too. :)


-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124

      reply	other threads:[~2012-07-15 21:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-14  0:39 Support of '^' as alias for 'HEAD^' Zeeshan Ali (Khattak)
2012-07-14  9:48 ` Stefan Näwe
2012-07-14 20:17   ` Junio C Hamano
2012-07-14 20:34     ` Junio C Hamano
2012-07-14 20:49       ` Zeeshan Ali (Khattak)
2012-07-14 21:26         ` Junio C Hamano
2012-07-14 22:24           ` Zeeshan Ali (Khattak)
2012-07-15  7:44             ` Jeff King
2012-07-15 17:45             ` Holger Hellmuth
2012-07-15 21:48               ` Zeeshan Ali (Khattak) [this message]

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='CAAa3hFOEtx7d8QzCyBLJEw7kjEb0oPaT=EnFiY3DdApnkHt+hg@mail.gmail.com' \
    --to=zeeshanak@gnome.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=hellmuth@ira.uka.de \
    --cc=stefan.naewe@gmail.com \
    /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).