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

Re: [PATCH] Pay attention to GIT_DIR when searching the git directory

From
Jakub Narebski <jnareb@gmail.com>
Date
May 5, 2008, 14:10 UTC
Message-ID
<m3r6cg6dur.fsf@localhost.localdomain>
In-Reply-To
<20080505125302.GA11523@alea.gnuu.de>
Jörg Sommer <joerg@alea.gnuu.de> writes:
> Johannes Schindelin schrieb am Mon 05. May, 12:36 (+0100):
Show 5 quoted lines
> > If you do not say _what_ is affected by the change, you only confuse
> > the readers.
> 
> Do you want something like “initialization: Pay attention to GIT_DIR when
> searching the git directory”?
I think the idea was to use
  "contrib/hooks/setgitperms: Use GIT_DIR if set"
or something like that.
 
> Is there a document with guidelines for commit messages, e.g. write the
> first letter upper or lower case?

There are a few unwritten conventions. You can always check existing commit messages, via

  $ git log --pretty=oneline --abbrev-commit --no-merges

and see that commit title (first line of commit message) is either short sentence starting with upper case, bt without fullstop, or sentence preceded by the subsystem affected, using "<subsystem>:" prefix.

Examples:
  Fix use after free() in builtin-fetch
  git-svn: detect and fail gracefully when dcommitting to a void
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Johannes SchindelinNext: Jörg Sommer
Message 5 of 8 in “Pay attention to GIT_DIR when searching the git directory”
  1. Pay attention to GIT_DIR when searching the git directoryJörg Sommer, May 5, 2008
  2. Johannes SchindelinMay 5, 2008
  3. Jörg SommerMay 5, 2008
  4. Johannes SchindelinMay 5, 2008
  5. Jakub NarebskiMay 5, 2008
  6. Jörg SommerMay 5, 2008
  7. Johannes SchindelinMay 5, 2008
  8. Jakub NarebskiMay 5, 2008

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.