public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Jon Forrest <nobozo@gmail•com>
To: Junio C Hamano <gitster@pobox•com>,
	Nico Williams <nico@cryptonector•com>
Cc: git@vger•kernel.org
Subject: Re: "git commit -a" Doesn't Add New Files. Why?
Date: Wed, 28 May 2025 16:06:19 -0700	[thread overview]
Message-ID: <550e4935-6ae6-44d8-bde2-d61db3656830@gmail.com> (raw)
In-Reply-To: <xmqqjz60pe65.fsf@gitster.g>



On 5/28/25 3:24 PM, Junio C Hamano wrote:

> But `git commit -a` would not change, even if it won't add cruft
> with well curated .gitignore files.  That will be a terrible
> backward incompatible change for those who expect it only deals with
> the files it knows about (including the one that is not yet tracked
> but its presence is known via "git add -N").


Just to make it clear - I was only discussing adding a '-A' (capital
A) option to git commit. Its current behavior with '-a' (small a)
wouldn't change.

Jon



  reply	other threads:[~2025-05-28 23:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-27 16:03 "git commit -a" Doesn't Add New Files. Why? Jon Forrest
2025-05-27 16:31 ` Nico Williams
2025-05-28 22:24   ` Junio C Hamano
2025-05-28 23:06     ` Jon Forrest [this message]
2025-05-27 16:43 ` Kristoffer Haugsbakk
2025-05-28 21:16   ` Junio C Hamano
2025-05-28 23:34   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=550e4935-6ae6-44d8-bde2-d61db3656830@gmail.com \
    --to=nobozo@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=gitster@pobox$(echo .)com \
    --cc=nico@cryptonector$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox