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

Re: [PATCH/RFC] gitweb: Great subroutines renaming

From
Junio C Hamano <junkio@cox.net>
Date
Aug 14, 2006, 00:11 UTC
Message-ID
<7vejvki3bh.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<ebmrbm$umk$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
Show 9 quoted lines
> Junio C Hamano wrote:
>
>> I'll be pushing out 1.4.2 this weekend, and then moving all the
>> gitweb stuff pending in "next" to "master" after that.
>> 
>> Let's have the rename immediately on top of it first, then
>> continue cleaning up after that.
>
> So after 1.4.2 gitweb patches should be based on next, or on master?

Well, since "git diff master next -- gitweb/" reports empty, the question should not matter at this moment ;-).

Here are my preferences, as a general guideline:
 * If it is a general clean-up (e.g. changing a function
   signature declared in cache.h to tighten constness), I would
   prefer two patches; one to apply on "master", and another one
   created by assuming:
    - your first patch for "master" is accepted;
    - resulting "master" (with your first patch applied) will be
      merged into "next";
   Then the other patch is to clean-up the remaining stuff
   introduced between "master" and "next" (e.g. the function
   whose signature you changed in the first patch may have more
   call sites in "next" you may need to fix them up).
   If you know the specific topic I internally have (you can
   tell them by looking at the merge commits on "next"),
   separating the remainder patch into one per topic would be
   even nicer, but that is probably too much work to ask from
   contributors.
   Most of the time I can do this split myself, though, so it is
   Ok to send a patch to fix things up only in "master", and
   have me find out that it breaks "next", at that time I may
   fix things up myself similarly or I may ask you to send in a
   separete patch in similar spirit to fix up things in "next".
 * If it is a new series, I would prefer things be based on
   "master", unless you use some feature (either internal or
   external) that only exists in "next" or in "pu".
 * If it is a follow-up on stuff still in "next", obviously
   basing the patch on "master" is not possible.
 * If you have independent fix even though we have stuff that
   touch the same general area in "next", it is very much
   preferable if it applies to "master".  A critical fix for
   "next" that does not apply to "master" is taking the fix
   hostage to whatever is in "next".
 * If you need to base on "next", telling me why (i.e. "this
   uses such and such function which are not in master") helps
   me identify which topic I internally have to base a topic to
   house your series in.
 * If you need to base on "pu", think twice.  You will be taken
   hostage by whatever you are basing on (this is the same if
   you base on something in "next", but "pu" is for stuff of
   even more dubious merits than "next").  On the other hand,
   your new series may turn out to be the killer application for
   the feature that was earlier felt not-so-useful and help it
   (and your series) merged to "next".
Previous: Jakub Narebski
Message 30 of 30 in “gitweb: Great subroutines renaming”
  1. gitweb: Great subroutines renamingJakub Narebski, Aug 7, 2006
  2. Junio C HamanoAug 7, 2006
  3. Jakub NarebskiAug 7, 2006
  4. Jakub NarebskiAug 7, 2006
  5. Junio C HamanoAug 7, 2006
  6. Jakub NarebskiAug 7, 2006
  7. Jakub NarebskiAug 7, 2006
  8. Junio C HamanoAug 7, 2006
  9. Jakub NarebskiAug 8, 2006
  10. Jakub NarebskiAug 8, 2006
  11. Junio C HamanoAug 8, 2006
  12. Jakub NarebskiAug 8, 2006
  13. Jakub NarebskiAug 8, 2006
  14. Jakub NarebskiAug 8, 2006
  15. Jakub NarebskiAug 9, 2006
  16. Junio C HamanoAug 9, 2006
  17. Jakub NarebskiAug 9, 2006
  18. Junio C HamanoAug 9, 2006
  19. Jakub NarebskiAug 8, 2006
  20. Jakub NarebskiAug 8, 2006
  21. Junio C HamanoAug 8, 2006
  22. Jakub NarebskiAug 8, 2006
  23. Jakub NarebskiAug 9, 2006
  24. Junio C HamanoAug 9, 2006
  25. Jakub NarebskiAug 10, 2006
  26. Jakub NarebskiAug 12, 2006
  27. Junio C HamanoAug 13, 2006
  28. Junio C HamanoAug 13, 2006
  29. Jakub NarebskiAug 13, 2006
  30. Junio C HamanoAug 14, 2006

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.