git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] name-rev: avoid cutoff timestamp underflow

From
SZEDER Gábor <szeder.dev@gmail.com>
Date
Sep 23, 2019, 08:39 UTC
Message-ID
<20190923083949.GE10866@szeder.dev>
In-Reply-To
<20190923012838.3hzai6ho7vjjhkpb@camp.crustytoothpaste.net>
On Mon, Sep 23, 2019 at 01:42:30AM +0000, brian m. carlson wrote:
Show 18 quoted lines
> On 2019-09-22 at 18:01:43, SZEDER Gábor wrote:
> > diff --git a/builtin/name-rev.c b/builtin/name-rev.c
> > index c785fe16ba..a4d8d312ab 100644
> > --- a/builtin/name-rev.c
> > +++ b/builtin/name-rev.c
> > @@ -9,7 +9,11 @@
> >  #include "sha1-lookup.h"
> >  #include "commit-slab.h"
> >  
> > -#define CUTOFF_DATE_SLOP 86400 /* one day */
> > +/*
> > + * One day.  See the 'name a rev close to epoch' test in t6120 when
> 
> This piece of code says "close to"…
> 
> > +test_expect_success 'name-rev a rev shortly after epoch' '
> 
> …but this says "shortly after."

Thanks. I did a last minute 'close to' -> 'shortly after' edit, but apparently not everywhere.

> Overall, I think the idea is definitely sane, though.
> -- 
> brian m. carlson: Houston, Texas, US
> OpenPGP: https://keybase.io/bk2204
Previous: brian m. carlsonNext: SZEDER Gábor
Message 10 of 11 in “name-rev: avoid cutoff timestamp underflow”
  1. name-rev: avoid cutoff timestamp underflowSZEDER Gábor, Sep 22, 2019
  2. Phillip WoodSep 22, 2019
  3. SZEDER GáborSep 22, 2019
  4. Johannes SixtSep 22, 2019
  5. SZEDER GáborSep 23, 2019
  6. Phillip WoodSep 23, 2019
  7. Johannes SixtSep 23, 2019
  8. SZEDER GáborSep 24, 2019
  9. brian m. carlsonSep 23, 2019
  10. SZEDER GáborSep 23, 2019
  11. name-rev: avoid cutoff timestamp underflowSZEDER Gábor, Sep 24, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.