Re: [RFC/PATCH] rebase -i: use full onto sha1 in reflog
- From
Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
- Date
- Aug 9, 2012, 17:04 UTC
- Message-ID
- <CAOeW2eESQyT0xzy8KjAdhgr45MGosY86cQOy2VsN6TtJqeEYjA@mail.gmail.com>
- In-Reply-To
- <89f79049a5fd737716ad51630a8c1ee4a27d747e.1344528082.git.git@drmicha.warpmail.net>
On Thu, Aug 9, 2012 at 9:05 AM, Michael J Gruber <git@drmicha.warpmail.net> wrote:
Show 10 quoted lines
> diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
> index 0d2056f..dbc9de6 100644
> --- a/git-rebase--interactive.sh
> +++ b/git-rebase--interactive.sh
> @@ -573,7 +573,7 @@ do_next () {
> newhead=$(git rev-parse HEAD) &&
> case $head_name in
> refs/*)
> - message="$GIT_REFLOG_ACTION: $head_name onto $shortonto" &&
> + message="$GIT_REFLOG_ACTION: $head_name onto $onto" &&After this patch, is there any point in the
shortonto=$(git rev-parse --short $onto) &&
line just before the context? (I can't see any.)