I've asked about this on https://groups.google.com/forum/#!topic/git-users/Qs4YSPhTsqE, which has lead to http://markmail.org/thread/mvtx7bjk563ligj5. Should I open an issue in JuliaLang/julia to continue discussing this?
On Tuesday, 10 December 2013 18:23:23 UTC+2, Stefan Karpinski wrote: > > Or maybe they didn't actually make that change yet? I'm very confused > about what actually changed in which git version. > > > On Tue, Dec 10, 2013 at 11:21 AM, Patrick O'Leary > <[email protected]<javascript:> > > wrote: > >> I'm confused; the documentation says the implied `-A` is a 2.0 change, >> and gives the alternative `--ignore-removal` to avoid it. In fact the whole >> section is about Git 2.0. The "Updates since 1.8.4" section mentions no >> changes to `git add`. >> >> >> On Tuesday, December 10, 2013 9:44:04 AM UTC-6, Stefan Karpinski wrote: >> >>> Seriously, git? >>> >>> >>> On Tue, Dec 10, 2013 at 10:34 AM, Michael Hatherly <[email protected] >>> > wrote: >>> >>>> Update: >>>> >>>> It appears that the behaviour of `git add` has been changed in version >>>> 1.8.5.1 https://github.com/git/git/blob/master/Documentation/ >>>> RelNotes/1.8.5.txt paragraph 4 says that for version 2.0: >>>> >>>> "git add <path>" will behave as "git add -A <path>" >>>> >>>> Running `git add -A --all` in an *empty* git repo on version 1.8.4 >>>> produces the same error that I have found when running `Pkg.generate` in >>>> julia with git 1.8.5.1, namely: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> fatal: pathspec '.' did not match any files >>>> >>>> >>>> while running just `git add --all` in the same repo using 1.8.5.1 will >>>> also produce this error. >>>> >>>> >>>> >>>> >>>> Perhaps someone better acquainted with git could shed some light on this. >>>> At the moment downgrading to 1.8.4 will solve my problem. >>>> >>>> On Monday, 9 December 2013 22:51:43 UTC+2, Michael Hatherly wrote: >>>>> >>>>> Hi all. >>>>> >>>>> Until today I had been able to run Pkg.generate without any problems. >>>>> It's now giving the following error: >>>>> >>>>> julia> Pkg.generate("Test", "MIT") >>>>> INFO: Initializing Test repo: /home/mike/.julia/Test >>>>> INFO: Origin: git://github.com/MichaelHatherly/Test.jl.git >>>>> fatal: pathspec '.' did not match any files >>>>> ERROR: failed process: Process(`git --work-tree=/home/mike/.julia/Test >>>>> --git-dir=/home/mike/.julia/Test/.git add --all`, ProcessExited(128)) >>>>> [128] >>>>> in pipeline_error at process.jl:476 >>>>> in run at process.jl:453 >>>>> in run at pkg/git.jl:24 >>>>> in snapshot at pkg/git.jl:61 >>>>> in transact at pkg/git.jl:80 >>>>> in package at pkg/generate.jl:46 >>>>> in anonymous at pkg/dir.jl:25 >>>>> in cd at file.jl:22 >>>>> in cd at pkg/dir.jl:25 >>>>> >>>>> The only change to my system has been to build julia from the latest >>>>> source. `make testall` is passing fine. >>>>> >>>>> julia> versioninfo() >>>>> Julia Version 0.3.0-prerelease+367 >>>>> Commit 4793241 (2013-12-09 19:32 UTC) >>>>> Platform Info: >>>>> System: Linux (x86_64-unknown-linux-gnu) >>>>> WORD_SIZE: 64 >>>>> BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY) >>>>> LAPACK: libopenblas >>>>> LIBM: libopenlibm >>>>> >>>>> >>>>> I'm really enjoying using julia so far. Thanks for all the great work >>>>> from everyone involved. >>>>> >>>>> Mike >>>>> >>>> >>> >
