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

Re: hitting home directory's parent

From
Daniel Convissor <danielc@analysisandsolutions.com>
Date
Aug 22, 2009, 15:05 UTC
Message-ID
<20090822150542.GA29507@panix.com>
In-Reply-To
<fcaeb9bf0908212110o5ed1233ek11183fa37b474a06@mail.gmail.com>
Hi Duy:
On Sat, Aug 22, 2009 at 11:10:18AM +0700, Nguyen Thai Ngoc Duy wrote:
> 
> I guess it tried to find .git directory upward. I think you can set
> GIT_CEILING_DIRECTORIES to make it stop at /home/danielc. Excerpt from
> git.txt
That didn't change the situation.

I did read a bit farther in the manual and initialized a new repository. Issuing "git --help" once inside that new repository works. Requiring the --help command to be called from inside a repository, or even that it's looking for a repository at all, seems unwise. All it should do is display the usage information and exit.

Thanks,
--Dan
-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409
Previous: Nguyen Thai Ngoc DuyNext: Nguyen Thai Ngoc Duy
Message 3 of 11 in “hitting home directory's parent”
  1. Daniel ConvissorAug 21, 2009
  2. Nguyen Thai Ngoc DuyAug 22, 2009
  3. Daniel ConvissorAug 22, 2009
  4. Nguyen Thai Ngoc DuyAug 22, 2009
  5. Nguyen Thai Ngoc DuyAug 22, 2009
  6. Jeff KingAug 22, 2009
  7. Nguyen Thai Ngoc DuyAug 23, 2009
  8. Jeff KingAug 25, 2009
  9. Daniel ConvissorAug 23, 2009
  10. Jeff KingAug 25, 2009
  11. Daniel ConvissorAug 23, 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.