Re: Is it possible to git clone --filter= without any objects?

2018-09-11 Thread Ciro Santilli
On Tue, Sep 11, 2018 at 6:47 PM Junio C Hamano wrote: > > Jonathan Tan writes: > > > By "without any objects" in your email subject, do you mean "without > > blob and tree objects"? If yes, there is some code in the > > md/filter-trees branch that can do that with a "--filter=tree:0" > > option.

Is it possible to git clone --filter= without any objects?

2018-09-11 Thread Ciro Santilli
At v2.19.0 I was trying to clone a fetch just a single directory: https://stackoverflow.com/questions/600079/how-do-i-clone-a-subdirectory-only-of-a-git-repository/52269934#52269934 I got really close with: git clone --depth 1 --no-checkout --filter=blob:none \ "file://$(pwd)/server_repo"

Can we make git clone --recurse-submodules --shallow-submodules work for commits that are not on tags or branches

2018-02-13 Thread Ciro Santilli
I have a git repo with large submodules, notably the Linux kernel, and shallow clone saves a lot of time. However, QEMU is also a submodule, which I don't control, and QEMU has submodules which don't point to commits that are not on any tag or branch, so: git clone --recurse-submodules

Add an option to automatically submodule update on checkout

2017-05-06 Thread Ciro Santilli
This is a must if you are working with submodules, otherwise every git checkout requires a git submodule update, and you forget it, and things break, and you understand, and you go to stack overflow questions

Re: Stop prepending /usr/bin to hooks PATH, or document it very clearly

2014-10-18 Thread Ciro Santilli
On Sat, Oct 18, 2014 at 4:49 PM, Andreas Krey a.k...@gmx.de wrote: On Fri, 17 Oct 2014 13:25:42 +, Ciro Santilli wrote: ... The problem is that the `/usr/bin` breaks interpreter version manager systems like RVM, rbenv, virtualenv, etc. since people will write hooks like: #!/usr/bin

Stop prepending /usr/bin to hooks PATH, or document it very clearly

2014-10-17 Thread Ciro Santilli
On hooks Git automatically prepends to the `PATH` via the `setup_path` function: - `git --exec-path` (`/usr/lib/git-core`) - the directory of `$0` (`/usr/bin`) if you call it with the full path The problem is that the `/usr/bin` breaks interpreter version manager systems like RVM, rbenv,

Subject: [PATCH] Remove duplicate list of extensions from docs.

2014-09-15 Thread Ciro Santilli
to get a list of extensions by browsing the headers in the Extensions section. Signed-off-by: Ciro Santilli ciro.santi...@gmail.com --- Documentation/technical/index-format.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/technical/index-format.txt b/Documentation/technical