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

Re: Minor documentation problems

From
Petr Baudis <pasky@suse.cz>
Date
Nov 2, 2006, 11:41 UTC
Message-ID
<20061102114149.GL20017@pasky.or.cz>
In-Reply-To
<vpqmz7a1694.fsf@ecrins.imag.fr>
  Hi,

Dear diary, on Thu, Nov 02, 2006 at 11:40:23AM CET, I got a letter where Matthieu Moy <Matthieu.Moy@imag.fr> said that...

Show 5 quoted lines
> I found minor problems with the doc, which deserve to be fixed:
> 
> * http://www.kernel.org/pub/software/scm/cogito/docs/cg-commit.1.html
>   Mentions .git/config, but not ~/.gitconfig (which is indeed _the_
>   place where I think most people want to set their name and email).
  thanks for pointing this out, further releases will mention both.
>   Side note: it can be interesting to have a command to do this.
>   For example, bzr has "bzr whoami 'me <myself@myisp.com>'", which
>   avoids having to learn the config file syntax.
  Yes, you are certainly not the first to wish this, I'm seriously
thinking about introducing cg-admin-config for setting the most common
configuration variables.
  Moreover, I'm more and more thinking about removing the fallback on
guessing based on /etc/passwd and hostname. _Many_ people were and will
be burnt by it, and I think it's more sane to require the user to
confirm once what the valid credentials are (at _that_ point it's ok to
guess, but the user has to confirm it) than let them unconsciously do
200 commits with completely bogus author lines.
  What do the Git people think? Perhaps we could introduce GIT_NO_GUESS
environment variable which will prevent var.c from guessing?
Show 6 quoted lines
> * RSS link on the wiki:
>   The URL
>   http://git.or.cz/gitwiki/RecentChanges?action=rss_rc&ddiffs=1&unique=1
>   seems to be working as an RSS feed for changes, but it's not linked
>   to by http://git.or.cz/gitwiki/RecentChanges. Usually, there's an
>   RSS icon, and an HTML <link rel="alternate" ...> to help finding it.
  Fixed, thanks.
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
Previous: Matthieu MoyNext: Matthieu Moy
Message 2 of 9 in “Minor documentation problems”
  1. Matthieu MoyNov 2, 2006
  2. Petr BaudisNov 2, 2006
  3. Matthieu MoyNov 2, 2006
  4. SeanNov 2, 2006
  5. Matthieu MoyNov 2, 2006
  6. Johannes SchindelinNov 2, 2006
  7. SeanNov 2, 2006
  8. Johannes SchindelinNov 2, 2006
  9. Add --global option to git-repo-config.Sean, Nov 2, 2006

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.