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

Re: [PATCH 2/2] [TopGit] Portability: Don't use alternation ("|") in sed regular expressions

From
Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date
Mar 12, 2009, 17:04 UTC
Message-ID
<20090312170454.GA2150@pengutronix.de>
In-Reply-To
<F3665462-16BC-42D6-BE28-F66CF48CEB9B@dartmouth.edu>
Hello Brian,
On Thu, Mar 12, 2009 at 12:41:45PM -0400, Brian Campbell wrote:
Show 9 quoted lines
>> IMHO we should reuse as much as possible from git.git.  For me even
>> requiring a git.git checkout to use its files would be OK.  I consider
>> that even better then duplicating the relevant files.
>
> Hmm. How would the tests find your git working tree? I'd be willing to  
> start the process off at least by writing test cases for the  
> functionality I'm changing here if I had a good idea of how to start.  
> Would it be sufficient to make something like "GIT_CHECKOUT=~/src/git  
> make check" work?

Yes, this would be a good start. I would call it GIT_SRC, but that's up to you.

Best regards Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |
Previous: Brian CampbellNext: Uwe Kleine-König
Message 11 of 12 in “[TopGit] Portability: Use tr instead of sed for translating spaces to newlines”
  1. 1/2 [TopGit] Portability: Use tr instead of sed for translating spaces to newlinesBrian Campbell, Mar 12, 2009
  2. 2/2 [TopGit] Portability: Don't use alternation ("|") in sed regular expressionsBrian Campbell, Mar 12, 2009
  3. Junio C HamanoMar 12, 2009
  4. Uwe Kleine-KönigMar 12, 2009
  5. Brian CampbellMar 12, 2009
  6. Uwe Kleine-KönigMar 12, 2009
  7. martin f krafftMar 12, 2009
  8. Junio C HamanoMar 14, 2009
  9. Uwe Kleine-KönigMar 14, 2009
  10. Brian CampbellMar 12, 2009
  11. Uwe Kleine-KönigMar 12, 2009
  12. Uwe Kleine-KönigMar 12, 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.