From: Max Kirillov <max@max630.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: Jeff King <peff@peff.net>, Paul Mackerras <paulus@samba.org>,
git@vger.kernel.org
Subject: Re: [PATCH] rev-parse: include HEAD in --all output
Date: Wed, 3 Sep 2014 19:18:56 +0300 [thread overview]
Message-ID: <20140903161856.GC6385@wheezy.local> (raw)
In-Reply-To: <xmqqsika2c2i.fsf@gitster.dls.corp.google.com>
On Tue, Sep 02, 2014 at 09:59:17AM -0700, Junio C Hamano wrote:
>
> I would rather see "rev-parse --all" not to include HEAD,
> especially if it has been documented that way.
Ok, then probably I'll want to change it in gitk.
But, with the "multiple working trees" feature, I would also
want to get other HEADs in view, even if they are detached.
I could add it to --all when it returns detached HEAD (like
in git-rev-list), but if it does not, probably some
new dedicated option should be for that purpose. Something
like "git rev-parse --heads", for example.
--
Max
prev parent reply other threads:[~2014-09-03 16:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-27 14:18 [RFC] add detached HEAD to --all listing Max Kirillov
2014-08-27 14:22 ` Jeff King
2014-08-27 14:33 ` Max Kirillov
2014-08-30 22:24 ` [PATCH] rev-parse: include HEAD in --all output Max Kirillov
2014-08-31 15:30 ` Jeff King
2014-08-31 21:36 ` Max Kirillov
2014-09-02 16:59 ` Junio C Hamano
2014-09-03 16:18 ` Max Kirillov [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=20140903161856.GC6385@wheezy.local \
--to=max@max630.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=paulus@samba.org \
--cc=peff@peff.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.