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

2014-05-28 Thread Bram Geron
Jeff King peff at 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

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

2013-02-24 Thread Junio C Hamano
Philip Oakley philipoak...@iee.org 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 to

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 add test.txt

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

2013-02-17 Thread Philip Oakley
From: Alain Kalker a.c.kal...@gmail.com 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

[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 git-rev-list-args gives git rev-list help, then dies. Should point out missing git-rev-list-args instead. - `git clone bundle dir gives ERROR: Repository not found. - `strace ... git clone bundle dir` (magically) appears to work but cannot checkout

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 git-rev-list-args gives git rev-list help, then dies. Should point out missing git-rev-list-args instead. - `git clone bundle dir gives ERROR: Repository not found. - `strace ... git clone

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 git-rev-list-args gives git rev-list help, then dies. Should point out missing git-rev-list-args instead. - `git clone bundle dir gives

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

2013-02-15 Thread Junio C Hamano
Alain Kalker a.c.kal...@gmail.com 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

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 $GIT bundle create