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

Re: [PATCH] Speedup bash completion loading

From
Shawn O. Pearce <spearce@spearce.org>
Date
Oct 9, 2009, 15:39 UTC
Message-ID
<20091009153936.GV9261@spearce.org>
In-Reply-To
<20091009152149.GA26171@tugrik.mns.mnsspb.ru>
Kirill Smelkov <kirr@mns.spb.ru> wrote:
Show 8 quoted lines
> On Fri, Oct 09, 2009 at 07:46:06AM -0700, Shawn O. Pearce wrote:
> > 
> > Squash this into the first patch and add the egrep change made by
> > Stephen Boyd "[PATCH 1/2] completion: fix completion of git <TAB><TAB>".
> 
> While it is technically easy to do so, isn't this a bad idea to squash
> semantic changes and fixes into something which should be as close as
> code movement?

The ejection forces the code to build with /bin/bash, unless you apply the trivial fixes related to IFS to make it work with dash. As they are trivial the tiny semantic change during the code move is just cleaner.

> Especially Stephen's fix?
I expect Junio to apply his patch first, and then yours.  Since he
is changing a region you are moving, you need to account for it in
your patch, otherwise we have a conflict and/or a regression.
 
-- 
Shawn.
Previous: Kirill SmelkovNext: Kirill Smelkov
Message 11 of 14 in “Speedup bash completion loading”
  1. Speedup bash completion loadingKirill Smelkov, Oct 5, 2009
  2. Shawn O. PearceOct 5, 2009
  3. Kirill SmelkovOct 5, 2009
  4. Ted PavlicOct 5, 2009
  5. Kirill SmelkovOct 8, 2009
  6. Shawn O. PearceOct 8, 2009
  7. Kirill SmelkovOct 8, 2009
  8. Kirill SmelkovOct 9, 2009
  9. Shawn O. PearceOct 9, 2009
  10. Kirill SmelkovOct 9, 2009
  11. Shawn O. PearceOct 9, 2009
  12. Kirill SmelkovOct 9, 2009
  13. Shawn O. PearceOct 9, 2009
  14. Junio C HamanoOct 10, 2009

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.