Re: [RFC/PATCH] rebase -i: use full onto sha1 in reflog

2012-08-09 Thread Junio C Hamano
Martin von Zweigbergk writes: > On Thu, Aug 9, 2012 at 9:05 AM, Michael J Gruber > wrote: >> 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_nex

Re: [RFC/PATCH] rebase -i: use full onto sha1 in reflog

2012-08-09 Thread Junio C Hamano
Michael J Gruber writes: > 'git rebase' uses the full onto sha1 for the reflog message whereas 'git > rebase -i' uses the short sha1. This is not only inconsistent, but can > lead to problems when the reflog is inspected at a later time at which > that abbreviation may have become ambiguous. > >

Re: [RFC/PATCH] rebase -i: use full onto sha1 in reflog

2012-08-09 Thread Martin von Zweigbergk
On Thu, Aug 9, 2012 at 9:05 AM, Michael J Gruber wrote: > 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