public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-1456] gcc-descr: by default show revision for HEAD
Date: Mon,  4 Jul 2022 10:27:52 +0000 (GMT)	[thread overview]
Message-ID: <20220704102752.3A9893858C52@sourceware.org> (raw)

https://gcc.gnu.org/g:88b9d090aa1686ba52ce6016aeed66464fb0d4bb

commit r13-1456-g88b9d090aa1686ba52ce6016aeed66464fb0d4bb
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Jul 4 12:13:44 2022 +0200

    gcc-descr: by default show revision for HEAD
    
    I've made the mistake multiple times while doing a bisection.
    One would expect that gcc-descr w/o an argument would print
    revision for the current HEAD and not master.
    Thus change it.
    
    contrib/ChangeLog:
    
            * git-descr.sh: By default print revision for HEAD.

Diff:
---
 contrib/git-descr.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/git-descr.sh b/contrib/git-descr.sh
index 96a993095bd..28db83abc08 100755
--- a/contrib/git-descr.sh
+++ b/contrib/git-descr.sh
@@ -4,7 +4,7 @@
 
 short=no
 long=no
-c=master
+c=HEAD
 
 for arg in "$@"
 do


                 reply	other threads:[~2022-07-04 10:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20220704102752.3A9893858C52@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).