Thread (13 messages) 13 messages, 4 authors, 2022-09-11

Re: [PATCH v2] allow "-" as short-hand for "@{-1}" in "branch -d"

From: Junio C Hamano <hidden>
Date: 2022-08-16 18:55:16

"Rubén Justo via GitGitGadget"  [off-list ref] writes:
From: rjusto <redacted>
Documentation/SubmittingPatches:

    Also notice that a real name is used in the `Signed-off-by`
    trailer. Please don't hide your real name.
     -    branch: allow "-" as a short-hand for "previous branch"
     +    allow "-" as short-hand for "@{-1}" in "branch -d"
The "branch:" prefix is lost here, which is not an improvement.  The
"<area>:" prefix is what makes it easier to locate a particular
change in "git shortlog --no-merges v2.37.0..v2.38.0".

As to the implementation, there is nothing to complain about, but as
we already discussed during the reivew of the first iteration, I am
not sure if the goal is sound in the first place.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help