Re: Issue with git add

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 14:15:16 UTC
On 18 Sep 2024, at 16:00, Alexander Leidinger <Alexander@Leidinger.net> wrote:
> 
> git add doesn't add files. And I don't see them in git status:
> ---snip---
> Mittwoch, 18. September 2024, 15:03:11
> {0} <FreeBSD 15.0-CURRENT> [commit:~/FreeBSD/GIT/ports]
> (256) netchild@ttypts/2 % export LC_ALL=C
> 
> Wednesday, 18. September 2024, 15:03:18
> {0} <FreeBSD 15.0-CURRENT> [commit:~/FreeBSD/GIT/ports]
> (257) netchild@ttypts/2 % git apply /tmp/0001-www-lua-resty-session3-new-port-sticking-to-version-.patch

For some reason, the .patch file didn't add files that you expected to be added? If you run "git status" immediately after "git apply", do you see any files listed in "Untracked files"?

It might be enlightening if you post the actual .patch file.

-Dimitry