Date: Wed, 18 Sep 2024 17:37:21 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Philip Paeps <philip@freebsd.org> Cc: git@freebsd.org Subject: Re: Issue with git add Message-ID: <19984b4d6b1a11bf58ba808cbd04aad9@Leidinger.net> In-Reply-To: <40DEBC29-8D48-4FF4-845C-508108BF8B09@freebsd.org> References: <03a47b71f3b000bf05c630c79d23c2d4@Leidinger.net> <40DEBC29-8D48-4FF4-845C-508108BF8B09@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Am 2024-09-18 16:29, schrieb Philip Paeps:
> On 2024-09-18 22:00:56 (+0800), Alexander Leidinger 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
>
>
> This creates a commit.
From the man-page: "This command applies the patch but does not create a
commit."
But now that you told it, I tried "git am" first, and I was seeing the
same behavior was puzzled, and tried git apply. And "git am "seems to
create commits, but it doesn't tell so in the description, only the man
page of git-apply tells this.
Deleting the directory + git status confirms that it is committed, "git
commit --amend" too. Pft. Ok, PEBCAK + man-page problem. Problem solved.
Thanks,
Alexander.
--
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmbq88EACgkQEg2wmwP4
2IYt0w/+Np68jXpxJ+JR47N+sVmwBmhChXmSskEeDipmybD319+5Q7YB0WS80HZp
ZyvvCDxfsqLEnumvS9gRbxlIUPPVgmjdsY+U7hUA1fy90HHD47EKEyuevlFEPn3a
hRZp0ikBs4J0AQTS0kZm9mnBiV6sia46agQoXun7sDbjlkEDy6umd4JrOrdpbYmV
caKW6HuHq91o4PVabO1moflvS9aOtxn14sTQBZ82czVD9l+/2kfDZwSNOQsMe2Ai
xBjVNRCoOxabAbi+La848vOSH3keWxqECYkwkFNgE1Fmwhmy7bc7C3WMGKX4Of1I
23rDelgrqCbCbEhqRPfBP9smqqg0Mk2Z3xiwH2M4RbwDnLnu6UF0a3Kpdgy9h9az
+ucxTlvo7/LDV3AouSBHiNGtz5JLXXABpubb5xcp68oD9s4G/h6Q2N3wryrcOn3r
u4n6+CTKKFVlaUGRnQIJlVd58YWMnXUiV5k6w4lVRAzziBRgN6K5oyh5DM9HGIMl
BulJe2u3FMfF1b9aHahdf+SX4QZhittzM0Oz0vfTPh5JEvW3y+3kW87SsilsF2bo
gRlASkBmhbcsQFsMuf24gax4BnxovvO0Eehz7VBY+7EZC22YgpRKscfgxE8TPyha
77yULABKu/fv9guxiUPOkQ45qn0pbHSxxzgO1RHpP+fexEVDrRg=
=SD8C
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19984b4d6b1a11bf58ba808cbd04aad9>
