# git rebase --interactive using short SHA-1's internally

4 messages from 2013-08-09 to 2013-08-10. Participants: Diogo de Campos, David, Junio C Hamano.
Thread: https://gitlist.dev/t/34659

## Diogo de Campos, 2013-08-09 19:22

Subject: git rebase --interactive using short SHA-1's internally
Message-ID: <CAMebvcT7Tb1PXsKmRuSNCqOhJEbkPJAG2tzW6FjWCa6hH-+ffA@mail.gmail.com>
URL: https://gitlist.dev/e/CAMebvcT7Tb1PXsKmRuSNCqOhJEbkPJAG2tzW6FjWCa6hH-%2BffA%40mail.gmail.com

```
Had some problems rebasing a large repository, fatal error because a
short SHA-1 ref was ambiguous.

After a quick inspection of git-rebase--interactive.sh, I found that
it uses short refs in a few places (git rev-parse --short). Removing
that option fixed my problem.


See:
https://github.com/git/git/blob/master/git-rebase--interactive.sh#L902

-- 
Diogo Campos

```

## David, 2013-08-10 00:50

Subject: Re: git rebase --interactive using short SHA-1's internally
Message-ID: <CAMPXz=rdaAZVb8UJJ+KcBZFR2wdnqTWbMKt07snPGEuCDz9q5A@mail.gmail.com>
URL: https://gitlist.dev/e/CAMPXz%3DrdaAZVb8UJJ%2BKcBZFR2wdnqTWbMKt07snPGEuCDz9q5A%40mail.gmail.com
In-Reply-To: <CAMebvcT7Tb1PXsKmRuSNCqOhJEbkPJAG2tzW6FjWCa6hH-+ffA@mail.gmail.com>

```
On 10 August 2013 05:22, Diogo de Campos <campos@esss.com.br> wrote:
> Had some problems rebasing a large repository, fatal error because a
> short SHA-1 ref was ambiguous.

This recent disussion might also interest you:
http://thread.gmane.org/gmane.comp.version-control.git/229091

```

## Junio C Hamano, 2013-08-10 05:28

Subject: Re: git rebase --interactive using short SHA-1's internally
Message-ID: <7v7gfu2jy3.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7v7gfu2jy3.fsf%40alter.siamese.dyndns.org
In-Reply-To: <CAMPXz=rdaAZVb8UJJ+KcBZFR2wdnqTWbMKt07snPGEuCDz9q5A@mail.gmail.com>

```
David <bouncingcats@gmail.com> writes:

> On 10 August 2013 05:22, Diogo de Campos <campos@esss.com.br> wrote:
>> Had some problems rebasing a large repository, fatal error because a
>> short SHA-1 ref was ambiguous.
>
> This recent disussion might also interest you:
> http://thread.gmane.org/gmane.comp.version-control.git/229091

I was wondering why the topic looked familiar ;-)

```

## Diogo de Campos, 2013-08-10 13:17

Subject: Re: git rebase --interactive using short SHA-1's internally
Message-ID: <CAMebvcTJ0kRzV2zWLaFzsXY+fBpdwaGiyuBJsx0=hYd350zOpg@mail.gmail.com>
URL: https://gitlist.dev/e/CAMebvcTJ0kRzV2zWLaFzsXY%2BfBpdwaGiyuBJsx0%3DhYd350zOpg%40mail.gmail.com
In-Reply-To: <7v7gfu2jy3.fsf@alter.siamese.dyndns.org>

```
Ooops, that's exactly it =)

On Sat, Aug 10, 2013 at 2:28 AM, Junio C Hamano <gitster@pobox.com> wrote:
> David <bouncingcats@gmail.com> writes:
>
>> On 10 August 2013 05:22, Diogo de Campos <campos@esss.com.br> wrote:
>>> Had some problems rebasing a large repository, fatal error because a
>>> short SHA-1 ref was ambiguous.
>>
>> This recent disussion might also interest you:
>> http://thread.gmane.org/gmane.comp.version-control.git/229091
>
> I was wondering why the topic looked familiar ;-)



-- 
Diogo Campos

Engineering Simulation and Scientific Software

BOS - Business Operation Support
Software Engineer

```
