From: Nicolas Pitre <nico@cam.org>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: David Tweed <david.tweed@gmail.com>,
gi mailing list <git@vger.kernel.org>
Subject: Re: [RFC,PATCH] Make git prune remove temporary packs that look like write failures
Date: Mon, 04 Feb 2008 11:06:39 -0500 (EST) [thread overview]
Message-ID: <alpine.LFD.1.00.0802041105170.2732@xanadu.home> (raw)
In-Reply-To: <alpine.LSU.1.00.0802041512140.7372@racer.site>
On Mon, 4 Feb 2008, Johannes Schindelin wrote:
> Hi,
>
> On Mon, 4 Feb 2008, David Tweed wrote:
>
> > + if(c>0 && c<4096 && stat(name, &status) == 0
> > + && status.st_mtime < now - 600){
>
> Please have spaces after the "if" and before the "{" (just imitate the
> style of the rest of the file).
>
> Also, 10 minutes grace period for any ongoing fetch or repack seems a bit
> arbitrary. Maybe default to 10 minutes, and introduce
> prune.packGracePeriod?
>
> (Which reminds me that it might be useful to add a
> prune.looseObjectsGracePeriod to avoid having to type --expire= all the
> time?)
Please use the same parameter for both. There is no need to have
separate settings.
Nicolas
next prev parent reply other threads:[~2008-02-04 16:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-04 14:10 [RFC,PATCH] Make git prune remove temporary packs that look like write failures David Tweed
2008-02-04 14:52 ` Nicolas Pitre
2008-02-04 15:16 ` Johannes Schindelin
2008-02-04 15:24 ` David Tweed
2008-02-04 17:21 ` Johannes Schindelin
2008-02-04 17:39 ` David Tweed
2008-02-04 17:42 ` David Tweed
2008-02-04 17:47 ` Nicolas Pitre
2008-02-04 17:54 ` David Tweed
2008-02-04 16:06 ` Nicolas Pitre [this message]
2008-02-04 16:33 ` Johannes Schindelin
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=alpine.LFD.1.00.0802041105170.2732@xanadu.home \
--to=nico@cam.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=david.tweed@gmail.com \
--cc=git@vger.kernel.org \
/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