From: Junio C Hamano <gitster@pobox.com>
To: Lars Vogel <lars.vogel@gmail.com>
Cc: git@vger.kernel.org, Lars Vogel <Lars.Vogel@vogella.com>
Subject: Re: [PATCH] Adds *~ to the .gitignore
Date: Thu, 09 Jun 2016 14:21:55 -0700 [thread overview]
Message-ID: <xmqqh9d2girw.fsf@gitster.mtv.corp.google.com> (raw)
In-Reply-To: <1465506629-16577-1-git-send-email-Lars.Vogel@vogella.com> (Lars Vogel's message of "Thu, 9 Jun 2016 23:10:29 +0200")
Lars Vogel <lars.vogel@gmail.com> writes:
> This helps contributors (like me) using editors which automatically create ~ copies of the changed data
>
> Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
> ---
We deliberately left this out and kept it out of .gitignore for the
past 10 years. The justification was that use of Emacs is merely a
personal choice that is better served by .git/info/excludes; we do
not add .swp for vim users, either, for the same reason.
I personally do not care too deeply either way; I could even support
a move to add some selected small file extensions, as long as we
some (social) mechanism to avoid churning this file every time
somebody new comes and complains their favourite editor or other
tools are not supported.
> .gitignore | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/.gitignore b/.gitignore
> index 05cb58a..13c7403 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -219,3 +219,4 @@
> *.pdb
> /Debug/
> /Release/
> +*~
next prev parent reply other threads:[~2016-06-09 21:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-09 21:10 [PATCH] Adds *~ to the .gitignore Lars Vogel
2016-06-09 21:21 ` Junio C Hamano [this message]
2016-06-09 21:38 ` Jeff King
2016-06-09 22:48 ` Junio C Hamano
2016-06-09 23:31 ` Jeff King
2016-06-10 15:52 ` 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=xmqqh9d2girw.fsf@gitster.mtv.corp.google.com \
--to=gitster@pobox.com \
--cc=Lars.Vogel@vogella.com \
--cc=git@vger.kernel.org \
--cc=lars.vogel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.