# error: non-monotonic index

3 messages from 2008-11-03 to 2008-11-03. Participants: Peter Teoh, Pierre Habouzit.
Thread: https://gitlist.dev/t/16146

## Peter Teoh, 2008-11-03 02:32

Subject: error: non-monotonic index
Message-ID: <804dabb00811021832k28276bf7ke0146a8bbd648574@mail.gmail.com>
URL: https://gitlist.dev/e/804dabb00811021832k28276bf7ke0146a8bbd648574%40mail.gmail.com

```
I git pull and got errors, then git repack and pull again......the
error increased....what happened?



/hdc1/download/2.6/linux26-acer>git pull
remote: Counting objects: 3959, done.
remote: Compressing objects: 100% (668/668), done.
remote: Total 2422 (delta 1934), reused 2154 (delta 1702)
Receiving objects: 100% (2422/2422), 409.97 KiB | 8 KiB/s, done.
Resolving deltas: 100% (1934/1934), completed with 757 local objects.
From git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
   e946217..45beca0  master     -> origin/master
 * [new tag]         v2.6.28-rc3 -> v2.6.28-rc3
error: non-monotonic index
error: non-monotonic index
error: non-monotonic index
fatal: Needed a single revision
45beca08dd8b6d6a65c5ffd730af2eac7a2c7a03 - not something we can merge
/hdc1/download/2.6/linux26-acer>git repack
Counting objects: 9, done.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), done.
Total 9 (delta 0), reused 0 (delta 0)
/hdc1/download/2.6/linux26-acer>git pull
error: non-monotonic index
error: non-monotonic index
error: non-monotonic index
error: non-monotonic index
error: non-monotonic index
error: non-monotonic index
fatal: Needed a single revision
45beca08dd8b6d6a65c5ffd730af2eac7a2c7a03 - not something we can merge


-- 
Regards,
Peter Teoh

```

## Pierre Habouzit, 2008-11-03 08:51

Subject: Re: error: non-monotonic index
Message-ID: <20081103085105.GA13930@artemis.corp>
URL: https://gitlist.dev/e/20081103085105.GA13930%40artemis.corp
In-Reply-To: <804dabb00811021832k28276bf7ke0146a8bbd648574@mail.gmail.com>

```
On Mon, Nov 03, 2008 at 02:32:44AM +0000, Peter Teoh wrote:
> I git pull and got errors, then git repack and pull again......the
> error increased....what happened?

what is your local git version and the remote one ?

It's likely that your local git is not aware of packs v2 which is now
default. You want to upgrade your local git, if you're on Debian etch,
updates have been pushed in the last dot release. Or you can even use
git-core from backports.org which is even more up to date (1.6.sth I
guess).

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

```

## Peter Teoh, 2008-11-03 23:47

Subject: Re: error: non-monotonic index
Message-ID: <804dabb00811031547kee54cap104ef639213cf161@mail.gmail.com>
URL: https://gitlist.dev/e/804dabb00811031547kee54cap104ef639213cf161%40mail.gmail.com
In-Reply-To: <20081103085105.GA13930@artemis.corp>

```
Thank you Pierre,

I installed a new copy, now seemingly working, thanks a lot!!!

On Mon, Nov 3, 2008 at 4:51 PM, Pierre Habouzit <madcoder@debian.org> wrote:
> On Mon, Nov 03, 2008 at 02:32:44AM +0000, Peter Teoh wrote:
>> I git pull and got errors, then git repack and pull again......the
>> error increased....what happened?
>
> what is your local git version and the remote one ?
>
> It's likely that your local git is not aware of packs v2 which is now
> default. You want to upgrade your local git, if you're on Debian etch,
> updates have been pushed in the last dot release. Or you can even use
> git-core from backports.org which is even more up to date (1.6.sth I
> guess).
>
> --
> ·O·  Pierre Habouzit
> ··O                                                madcoder@debian.org
> OOO                                                http://www.madism.org
>



-- 
Regards,
Peter Teoh

```
