Thread (60 messages) 60 messages, 4 authors, 2025-05-07

Re: [PATCH v4 2/7] builtin/gc: remove global variables where it trivial to do

From: Patrick Steinhardt <hidden>
Date: 2025-05-07 07:06:50

On Tue, May 06, 2025 at 09:44:03AM +0200, Christian Couder wrote:
On Mon, May 5, 2025 at 10:52 AM Patrick Steinhardt [off-list ref] wrote:
quoted
We use a couple of global variables to assemble command line arguments
for subprocesses we execute in git-gc(1). All of these variables except
the one for git-repack(1) are only used in a single place though, so
they don't really add anything but confusion.

Remove those variables.
About the commit message it seems to me that it's missing "is", so maybe:

"builtin/gc: remove global variables where it's trivial to do"

or just:

"builtin/gc: remove global variables where trivial to do"

?
Ah, indeed.

Patrick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help