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

Re: [PATCH] revisions: refactor init_revisions and setup_revisions.

From
Pierre Habouzit <madcoder@debian.org>
Date
Mar 10, 2008, 20:44 UTC
Message-ID
<20080310204407.GA30569@artemis.madism.org>
In-Reply-To
<7vwsoaid6z.fsf@gitster.siamese.dyndns.org>
On Mon, Mar 10, 2008 at 07:36:20PM +0000, Junio C Hamano wrote:
Show 13 quoted lines
> Pierre Habouzit <madcoder@debian.org> writes:
> 
> >   We could of course have a .def member in the struct rev_info, and use
> > the one passed to setup_revisions then if it's still NULL, but it
> > doesn't really makes sense to me, and I don't really see a problem with
> > saying at init time that you'll default to "HEAD". Though if you really
> > dislike it that much, I squash a patch that does that on top of it.
> 
> Well, it was not liking or disliking.  Although I thought "default" that
> sets a value to the default after the parser finds that the user did not
> give anything (the approach you described in the above quoted paragraph)
> is a natural implementation, probably more so than what you did, I do not
> have strong preference either way.
  Well Okay, I'll let others comment, and will implement this way if
more are in favor of it than against then :)
Show 11 quoted lines
> >> Applying this to 'master' and then merging 'pu' shows that there are a few
> >> topics that are cooking that would conflict with this change.  Merging
> >> 'next' seems to go cleanly (I haven't checked the result), so it is not
> >> too bad for me to carrry this at this moment, if we were not this close to
> >> the rc freeze.  I dunno.
> >
> >   Well I can wait longer, I'd just like to see it merged in a not too
> > far future, because I have to check for new places that would need
> > conversions at each reabase :)
> 
> Yeah, that burden can be shifted to me, in other words ;-)
  Heh, fair enough. Well, I can wait a bit longer :)
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Previous: Junio C Hamano
Message 5 of 5 in “revisions: refactor init_revisions and setup_revisions.”
  1. revisions: refactor init_revisions and setup_revisions.Pierre Habouzit, Mar 4, 2008
  2. Junio C HamanoMar 10, 2008
  3. Pierre HabouzitMar 10, 2008
  4. Junio C HamanoMar 10, 2008
  5. Pierre HabouzitMar 10, 2008

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.