Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Make gc a builtin.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:59

"Santi Béjar" [off-list ref] writes:
On 3/14/07, Theodore Tso [off-list ref] wrote:
quoted
On Wed, Mar 14, 2007 at 12:19:07AM -0700, Junio C Hamano wrote:
quoted
quoted
quoted
-test "true" != "$pack_refs" ||
-git-pack-refs --prune &&
-git-reflog expire --all &&
-git-repack -a -d -l &&
...
I do not necessarily think so.  This is not even a performance
critical part of the system, so if there _were_ no other
constraints, I would rather keep scripts like this as scripts.
I agree with Junio; I think the scripts are much more readable and
easier to understand; In fact, it would be nice if the script were
preserved somewhere, perhaps as comments in the .c file.
Or move them to contrib/examples, as was done with git-resolve.sh.

Santi
That probably is a sensible thing to do.  I'll amend the patch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help