From nobody Wed Sep 18 14:29:15 2024 X-Original-To: git@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X81Hg46znz5WVgl for ; Wed, 18 Sep 2024 14:29:19 +0000 (UTC) (envelope-from philip@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X81Hg3N2xz49mZ; Wed, 18 Sep 2024 14:29:19 +0000 (UTC) (envelope-from philip@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726669759; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OVdXoeACDVVQEJZxZazcF4gICMHhtvnqYbQ/LOBGLNA=; b=RGk8HsVQKLK2MyueC3AJlzDTwiSgmqnqPIcAjTSnyN0DhONYKWr8ze5g3xLRZk6Ci/ccyg V2ZwXFvESwFNITQediTdomJg5te1Wwk4n8zPRQDNSL3CwrUzP5dXJ6c7nfcTcNoo5nh2ae ZUjJBUk5841aOfcVsMJXvrHsVqP5+Tm05gNvNSD/QVPZQ3lR/K46nXmVu55kyjr+E4lUkM HlqXJvPaDMiQO3d+uG3sqzzS+vXNWDeK/y+W0K1wabM7TFPDo+kp4s0mucuqav1VYBOvJ+ 7B3uf2w+Mm7oYqPTKBRjOPa+a/y19StK+wHxtnhQEKyyy8cBGjWRVIgRY65FTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726669759; a=rsa-sha256; cv=none; b=iUoYcDzIUDMjvc/VjHZfIjQGJIX44BZNx8AkZgtnV+K5dXMfcnR8vWiv/VCxsIVcLTQKmI relpRh4r+leLEZbwdC0X9i5qBli0T3waS/GKAJ16lrIop2tibzM57lUrEzf+EqLbItUAuS HcWqzQaHyQhQ7+4pZD8SQIDyIieiFSCVEAoWaq5MAgJeK6YqupNnmQTP/c62Ox+lSgVOrX NVvJF7B9A/MG2UEWyB9blXoB/aatm6vfhvWTTiyKv3IhQLaTZujbm7ziYNSAwA/s6Vi8uT NudBy3XjLBSJTv2Xiu+qteKNiBQo2tIxjwvzswM+ALcgCQqza44GCg7FuOfX1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726669759; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OVdXoeACDVVQEJZxZazcF4gICMHhtvnqYbQ/LOBGLNA=; b=Bz/w1hLR8S5rk94VqgPbFfWN1NmpUcAisz6NfzK4jm4CY/1Y8G+Sj4od7sGEYBgbTPE47h NgOdMn8jMbkyUIOtwnPsMLKhQizvRsH8S6KK0zvBpCbWn3wPtPk8YlaCSWxNhoI2HqOkWA NHssW5+ForxRJwu23wyEtYd41+RtEoSR7SQwsI0+nAeB9WiYhKA5RADhxgZqbjeqwicD6A +Dclb+47Ygsgpx9r5Nn/pTUGYaYG5+rNjwOVQX9okkIFseKX/irnWPJoR5MBQCdlLRjm8l nKyE9IjoMfrbRW7EVuEWzMJEsiazqUcv/R2YFugNBKCS7PXatwky1Y6S8FlXKQ== Received: from fauth2-smtp.messagingengine.com (fauth2-smtp.messagingengine.com [103.168.172.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: philip/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4X81Hg2cWmzG21; Wed, 18 Sep 2024 14:29:19 +0000 (UTC) (envelope-from philip@freebsd.org) Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfauth.phl.internal (Postfix) with ESMTP id 6C64E120006A; Wed, 18 Sep 2024 10:29:18 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Wed, 18 Sep 2024 10:29:18 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudekledgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffokfgjfhggtgfgsehtkehmtdertdej necuhfhrohhmpefrhhhilhhiphcurfgrvghpshcuoehphhhilhhiphesfhhrvggvsghsug drohhrgheqnecuggftrfgrthhtvghrnhepkeehhfeltdevieeukeehteevueffvdfhteek keehtdevudffieffveetvddukedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepphhhihhlihhpodhmvghsmhhtphgruhhthhhpvghrshhonhgr lhhithihqdduudeiiedviedvgeekqddvfeehudektddtkedqphhhihhlihhppeepfhhrvg gvsghsugdrohhrghesthhrohhusghlvgdrihhspdhnsggprhgtphhtthhopedvpdhmohgu vgepshhmthhpohhuthdprhgtphhtthhopegrlhgvgigrnhguvghrsehlvghiughinhhgvg hrrdhnvghtpdhrtghpthhtohepghhithesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: ia691475d:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 18 Sep 2024 10:29:17 -0400 (EDT) From: Philip Paeps To: Alexander Leidinger Cc: git@freebsd.org Subject: Re: Issue with git add Date: Wed, 18 Sep 2024 22:29:15 +0800 X-Mailer: MailMate (1.14r6065) Message-ID: <40DEBC29-8D48-4FF4-845C-508108BF8B09@freebsd.org> In-Reply-To: <03a47b71f3b000bf05c630c79d23c2d4@Leidinger.net> References: <03a47b71f3b000bf05c630c79d23c2d4@Leidinger.net> List-Id: Discussion of git use in the FreeBSD project List-Archive: https://lists.freebsd.org/archives/freebsd-git List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-git@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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} [commit:~/FreeBSD/GIT/ports] > (256) netchild@ttypts/2 % export LC_ALL=C > > Wednesday, 18. September 2024, 15:03:18 > {0} [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. > Wednesday, 18. September 2024, 15:03:24 > {0} [commit:~/FreeBSD/GIT/ports] > (25😎 netchild@ttypts/2 % git add www/lua-resty-session3 > www/lua-resty-session3/* Does git status before git add show any modified files? > Wednesday, 18. September 2024, 15:03:41 > {0} [commit:~/FreeBSD/GIT/ports] > (259) netchild@ttypts/2 % git status > On branch main > Your branch is ahead of 'freebsd/main' by 1 commit. > (use "git push" to publish your local commits) Try git show. You might want git reset. Or git commit --amend. > What's wrong here? Nothing. Probably. :-D Philip