From: "Theodore Ts'o" <tytso@mit.edu>
To: Willy Tarreau <w@1wt.eu>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Masahiro Yamada <masahiroy@kernel.org>,
Nicolas Schier <nicolas@fjasle.eu>,
Nick Desaulniers <ndesaulniers@google.com>,
Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Overly aggressive .gitignore file?
Date: Tue, 4 Jul 2023 20:41:29 -0400 [thread overview]
Message-ID: <20230705004129.GI1178919@mit.edu> (raw)
In-Reply-To: <20230704222758.GB22271@1wt.eu>
For whatever it's worth, I always run "b4 am -o /tmp/m ...", so all of
the .mbox files end up in /tmp/m. Similarly, I'll always run "git ty
-o /tmp/e ..." so all of the thanks file end up in /tmp/e. And that
way I inspect the b4 output files before I run "git am -s /tmp/m/..."
or "git send-mail /tmp/e/...".
So I never end up with the problem of stale b4 turds in the kernel
tree. My one wish is that b4 would automatically create the arguments
to the -o otpion if they don't exist, so I'm not having to type "rm -r
/tmp/m ; mkdir /tmp/m" before I run b4, but as far as I'm concerned,
it's much better than having the turds in my kernel tree.
The other thing I got a bit confused about is the "autocomplete not
working". At least for me, if there are two files that have the same
prefix, say, 2023, when type "2023<TAB>", the terminal bell goes
"fweep", which makes me understand that the prefix was not ambiguous,
and then the second time when I hit <TAB> I'll see the possible
autocomplete options, so I know what unique characters I might need to
type in order for autocomplete to make forward progress. Now, it
might be that you've turned off the terminal bell, so you don't get
the hint about why autocomplete didn't fully complete the filename, so
it appears as it was "autocomplete not working", as opposed to your
not getting the feedback about why it didn't do more autocompletion.
> Sure but apparently the point of that commit was precisely to avoid
> *risking* to commit them for other users, or maybe just not seeing
> too many of them when running git status to make sure the rest that
> they consider more important is actually committed.
Well, if you use directories in /tmp for the b4 output, there's no
risk of them accidentally getting committed into the tree. And unless
you do something like "git add .", there's no chance they would
accidentally get committed anyway, so I'm not sure I see the point.
I'm always manually using "git add <filename>" precisely because I
don't *trust* "git add ." not accidentally including stuff I don't
want....
- Ted
next prev parent reply other threads:[~2023-07-05 0:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-04 19:49 Overly aggressive .gitignore file? Linus Torvalds
2023-07-04 21:15 ` Willy Tarreau
2023-07-04 21:20 ` Linus Torvalds
2023-07-04 21:34 ` Willy Tarreau
2023-07-04 21:44 ` Linus Torvalds
2023-07-04 21:56 ` Willy Tarreau
2023-07-04 22:14 ` Linus Torvalds
2023-07-04 22:27 ` Willy Tarreau
2023-07-05 0:41 ` Theodore Ts'o [this message]
2023-07-05 13:51 ` Konstantin Ryabitsev
2023-07-07 18:51 ` Nick Desaulniers
2023-07-07 19:11 ` Linus Torvalds
2023-07-05 8:31 ` Bernd Petrovitsch
2023-07-05 1:59 ` Masahiro Yamada
2023-07-05 15:34 ` Theodore Ts'o
2023-07-05 16:28 ` Masahiro Yamada
2023-07-05 3:45 ` Nicolas Schier
2023-07-05 5:04 ` Masahiro Yamada
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=20230705004129.GI1178919@mit.edu \
--to=tytso@mit.edu \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=ndesaulniers@google.com \
--cc=nicolas@fjasle.eu \
--cc=torvalds@linux-foundation.org \
--cc=w@1wt.eu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox