On Fri, Oct 08, 2021 at 01:01:33PM +0200, Martin Liška wrote: > I'm sending a patch originally written by Martin Jambor. > The patch changes the behavior in the following way: > > $ git gcc-descr HEAD~ > > r12-4245-gdb3d7270b42fe2 > > $ git gcc-descr --short HEAD~ > > r12-4245
I think changing the default is ok, but dropping --full is not, it should stay and behave the way it did before (i.e. print r12-4245-gdb3d7270b42fe27fb05664c4fdf524ab7ad13a75 same thing as the new default except for full hash instead of first 14 chars from it). > $ git gcc-undescr r12-4245-gdb3d7270b42fe2 > > db3d7270b42fe27fb05664c4fdf524ab7ad13a75 I don't understand this. Why do you want to make this work? That is clearly a noop, you can use r12-4245-gdb3d7270b42fe2 directly in git commands, and if you for whatever strange reason don't want the r12-4245-g prefix before it, just copy'n'paste what is after it. Jakub