Edward Thomson

Results 549 comments of Edward Thomson

Invalid is the error class; what's the actual error message? Is it "cannot fetch a specific object from the remote repository"? (set here: https://github.com/libgit2/libgit2/blob/main/src/libgit2/fetch.c#L148) We should be able to handle...

Hmm. I see what you're saying, and that's... interesting. My git (2.44.0) neither advertises `allow-tip-sha1-in-want` nor `allow-reachable-sha1-in-want` but will happily deliver a named object sha1 that is not advertised. @pks-t...

I believe that it does. The documentation you're referencing is vague, or perhaps simply wrong, compared to how git actually works. `git status` takes a pathspec. `**/foo` doesn't *actually* match...

Ah, indeed, there are some differences because _of course there are_. (For example, within the list of patterns in a gitignore or attributes file, you can negate patterns.) I don't...

> If this could be an option with 'checkout', some might find it helpful... Git already has a configuration option, it's the `.gitattributes` file, which has the added property of...

@myitcv That's correct - sorry, I did sort of gloss over the many combinations of settings that are possible. 😰 > Thanks @ethomson. Doesn't setting * -text have the side...

> Therefore, duplicate caches (in my case for a local Maven repository) are falsely being created only because the checkout action does not support config options for the corresponding Git...

You shouldn't be using core.autocrlf. Line ending configuration is _per repository_ - the configuration affects not only how things are placed on disk but also in the repository, so to...

> The only reason we ended up at this issue is because we had a nasty reproducibility bug that affected customers using windows, as our build artifacts had these random...