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

Re: Adapting scripts to work in current (not top) directory

From
HAH. Peter Anvin <hpa@zytor.com>
Date
May 12, 2005, 19:15 UTC
Message-ID
<4283AB68.1090003@zytor.com>
In-Reply-To
<200505121758.10971.snake@penza-gsm.ru>
Alexey Nezhdanov wrote:
Show 8 quoted lines
> All git and cogito scripts wants .git subdirectory. If I'm in a subdirectory 
> that have no .git direcory in it I'm out of luck.
> I have wrote an example script that determines the lowest possible .git 
> directory position and changes to it to satisfy user request.
> 
> Problems with script:
> 1) May be I misunderstood the git ideology and it needs not this at all.
> 
Linus has explicitly said he doesn't want that.
	-hpa
Previous: Alexey NezhdanovNext: Petr Baudis
Message 2 of 5 in “Adapting scripts to work in current (not top) directory”
  1. Alexey NezhdanovMay 12, 2005
  2. H. Peter AnvinMay 12, 2005
  3. Petr BaudisMay 12, 2005
  4. Alexey NezhdanovMay 13, 2005
  5. Petr BaudisMay 13, 2005

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.