Re: [BUG] Git clone of a bundle fails, but works (somewhat) when run with strace

2014-05-28 Thread Bram Geron
Jeff King peff.net> writes: > [..] > Secondly, I do get the same warning about HEAD: > > $ git clone repo.bundle repofrombundle > Cloning into 'repofrombundle'... > Receiving objects: 100% (3/3), done. > warning: remote HEAD refers to nonexistent ref, unable to checkout. > > but that war

Re: [BUG] Git clone of a bundle fails, but works (somewhat) when run with strace

2013-02-24 Thread Junio C Hamano
"Philip Oakley" writes: >>> You probably wanted "git bundle create ../repo.bundle --all" which >>> includes both "master" and "HEAD". >> >> That explains it, thanks! Maybe this could be added as an example to >> the >> documentation for `git bundle`? People looking at `man git-bundle` >> hoping >

Re: [BUG] Git clone of a bundle fails, but works (somewhat) when run with strace

2013-02-17 Thread Philip Oakley
From: "Alain Kalker" Sent: Sunday, February 17, 2013 1:01 PM On Fri, 15 Feb 2013 23:01:09 -0500, Jeff King wrote: On Sat, Feb 16, 2013 at 12:03:58AM +, Alain Kalker wrote: ---test.sh--- #!/bin/sh [...] but that warning makes sense. You did not create a bundle that contains HEAD, ther

Re: [BUG] Git clone of a bundle fails, but works (somewhat) when run with strace

2013-02-17 Thread Alain Kalker
On Fri, 15 Feb 2013 23:01:09 -0500, Jeff King wrote: > On Sat, Feb 16, 2013 at 12:03:58AM +, Alain Kalker wrote: > >> ---test.sh--- >> #!/bin/sh >> >> make clean make || return 125 GIT=$(pwd)/git >> >> cd /tmp rm -rf testrepo mkdir testrepo cd testrepo $GIT init echo test >> > test.txt $GIT

Re: [BUG] Git clone of a bundle fails, but works (somewhat) when run with strace

2013-02-15 Thread Jeff King
On Sat, Feb 16, 2013 at 12:03:58AM +, Alain Kalker wrote: > ---test.sh--- > #!/bin/sh > > make clean > make || return 125 > GIT=$(pwd)/git > > cd /tmp > rm -rf testrepo > mkdir testrepo > cd testrepo > $GIT init > echo test > test.txt > $GIT add test.txt > $GIT commit -m "Add test.txt" > $GI

Re: [BUG] Git clone of a bundle fails, but works (somewhat) when run with strace

2013-02-15 Thread Junio C Hamano
Alain Kalker writes: > P.S. I hereby promise to _never_ _ever_ alias `git` to something else and > then post a Git bug about that "something else" on this ML. > > Sorry to have wasted your time, Thanks. People around here tend to be quiet until they sufficiently have dug the issue themselves;

Re: [BUG] Git clone of a bundle fails, but works (somewhat) when run with strace

2013-02-15 Thread Alain Kalker
On Fri, 15 Feb 2013 22:25:47 +, Alain Kalker wrote: > On Fri, 15 Feb 2013 20:33:24 +0100, Alain Kalker wrote: > >> tl;dr: >> >> - `git bundle create` without gives git rev-list >> help, then dies. >>Should point out missing instead. >> - `git clone gives "ERROR: Repository not found.

Re: [BUG] Git clone of a bundle fails, but works (somewhat) when run with strace

2013-02-15 Thread Alain Kalker
On Fri, 15 Feb 2013 20:33:24 +0100, Alain Kalker wrote: > tl;dr: > > - `git bundle create` without gives git rev-list > help, then dies. >Should point out missing instead. > - `git clone gives "ERROR: Repository not found." > - `strace ... git clone ` (magically) appears to work but >

[BUG] Git clone of a bundle fails, but works (somewhat) when run with strace

2013-02-15 Thread Alain Kalker
tl;dr: - `git bundle create` without gives git rev-list help, then dies. Should point out missing instead. - `git clone gives "ERROR: Repository not found." - `strace ... git clone ` (magically) appears to work but cannot checkout files b/c of nonexistent ref. - Heisenbug? Race conditi