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