* [PATCH] gcc-descr: by default show revision for HEAD
@ 2022-07-04 10:15 Martin Liška
2022-07-04 10:24 ` Jakub Jelinek
0 siblings, 1 reply; 2+ messages in thread
From: Martin Liška @ 2022-07-04 10:15 UTC (permalink / raw)
To: gcc-patches; +Cc: Jakub Jelinek, Jonathan Wakely
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.
Ready to be installed?
Thanks,
Martin
contrib/ChangeLog:
* git-descr.sh: By default print revision for HEAD.
---
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
--
2.36.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] gcc-descr: by default show revision for HEAD
2022-07-04 10:15 [PATCH] gcc-descr: by default show revision for HEAD Martin Liška
@ 2022-07-04 10:24 ` Jakub Jelinek
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2022-07-04 10:24 UTC (permalink / raw)
To: Martin Liška; +Cc: gcc-patches, Jonathan Wakely
On Mon, Jul 04, 2022 at 12:15:00PM +0200, Martin Liška wrote:
> 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.
>
> Ready to be installed?
> Thanks,
> Martin
>
> contrib/ChangeLog:
>
> * git-descr.sh: By default print revision for HEAD.
Ok.
> ---
> 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
> --
> 2.36.1
Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-04 10:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 10:15 [PATCH] gcc-descr: by default show revision for HEAD Martin Liška
2022-07-04 10:24 ` Jakub Jelinek
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).