On Fri, Mar 31, 2017 at 3:40 AM, Luis R. Rodriguez <mcgrof@xxxxxxxxxx> wrote: > On Wed, Mar 29, 2017 at 06:33:38PM +0200, Jan Tulak wrote: >> https://github.com/jtulak/xfsprogs-dev > > FWIW > > mcgrof@ergon ~/devel $ git clone https://github.com/jtulak/xfsprogs-dev.git jtulak-xfsprogs > Cloning into 'jtulak-xfsprogs'... > remote: Counting objects: 20082, done. > remote: Compressing objects: 100% (3760/3760), done. > remote: Total 20082 (delta 16302), reused 20082 (delta 16302), pack-reused 0 > Receiving objects: 100% (20082/20082), 5.99 MiB | 9.80 MiB/s, done. > Resolving deltas: 100% (16302/16302), done. > warning: remote HEAD refers to nonexistent ref, unable to checkout. > > mcgrof@ergon ~/devel $ git clone https://github.com/jtulak/xfsprogs-dev.git --reference xfsprogs-dev/.git jtulak-xfsprogs > Cloning into 'jtulak-xfsprogs'... > remote: Counting objects: 96, done. > remote: Compressing objects: 100% (29/29), done. > remote: Total 96 (delta 72), reused 91 (delta 67), pack-reused 0 > Unpacking objects: 100% (96/96), done. > warning: remote HEAD refers to nonexistent ref, unable to checkout. > > A branch does work: > > mcgrof@ergon ~/devel/xfsprogs-dev (git::master)$ git remote add jtulak https://github.com/jtulak/xfsprogs-dev.git > mcgrof@ergon ~/devel/xfsprogs-dev (git::master)$ git fetch jtulak > remote: Counting objects: 96, done. > remote: Compressing objects: 100% (29/29), done. > remote: Total 96 (delta 72), reused 91 (delta 67), pack-reused 0 > Unpacking objects: 100% (96/96), done. > From https://github.com/jtulak/xfsprogs-dev > * [new branch] github -> jtulak/github > > So one can just do: > > git clone https://github.com/jtulak/xfsprogs-dev -b github j-xfs --reference /home/mcgrof/devel/xfsprogs-dev/.git > Cloning into 'j-xfs'... > > Luis o_O This is something I didn't think that there could be any issue. Well, next time I know that I need to push all branches this specific one originates from. Anyway, fixed, I pushed master branch on github too. Mine branch should be the default one, but git now knows the ref... $ git clone https://github.com/jtulak/xfsprogs-dev.git jtulak-xfsprogs Cloning into 'jtulak-xfsprogs'... remote: Counting objects: 20082, done. remote: Compressing objects: 100% (3760/3760), done. remote: Total 20082 (delta 16302), reused 20082 (delta 16302), pack-reused 0 Receiving objects: 100% (20082/20082), 5.99 MiB | 3.39 MiB/s, done. Resolving deltas: 100% (16302/16302), done. $ Thanks, Jan -- Jan Tulak jtulak@xxxxxxxxxx / jan@xxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html