threads / discuss / 16146

error: non-monotonic index

Subject: error: non-monotonic index

## tl;dr

3 messages between Nov 3, 2008 and Nov 3, 2008.

replies: 2people: 2as markdown or json

Peter Teoh· Nov 3, 2008, 02:32 UTC · lore

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· Nov 3, 2008, 08:51 UTC · re: Peter Teoh · lore

Re: error: non-monotonic index

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· Nov 3, 2008, 23:47 UTC · re: Pierre Habouzit · lore

Re: error: non-monotonic index

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:
Show 17 quoted lines
> 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

← back to recent threads