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

Re: [PATCH 1/2] user-manual: Simplify the user configuration.

From
HKHannu Koivisto <azure@iki.fi>
Date
Jan 22, 2009, 18:59 UTC
Message-ID
<83wscndv57.fsf@kalahari.s2.org>
In-Reply-To
<94a0d4530901220857q1027c05bs137dcc0244a1cc5a@mail.gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 10 quoted lines
> On Thu, Jan 22, 2009 at 6:17 PM, Hannu Koivisto <azure@iki.fi> wrote:
>> Felipe Contreras <felipe.contreras@gmail.com> writes:
>>
>>> This brings back my previous question: where is the home directory in
>>> a Windows system?
>>
>> It's where %HOMEDRIVE%%HOMEPATH% points to.
>
> I thought it was something like that. Do we want something like that
> in the manual, or should we assume Windows users know that?

I should have added that Unix programs (i.e. Cygwin programs and even some native ports) probably use %HOME% which may be different from %HOMEDRIVE%%HOMEPATH%. I recall that if you haven't explicitly set up HOME in Windows environment, Cygwin sets it up magically from passwd or falls back to %HOMEDRIVE%%HOMEPATH%. I have no idea if msysgit respects %HOME% if it is set or always uses %HOMEDRIVE%%HOMEPATH% or something completely different (user profile, most likely).

It certainly may be that "home directory" is a foreign concept to some Windows users. Some might know it as a user profile or a personal folder (just guessing, I'm pretty isolated from less experienced Windows users), even though user profile is a separate concept from "home directory" (note that there is %USERPROFILE% which by default is the same as %HOMEDRIVE%%HOMEPATH% at least in XP).

In any case, what Cygwin git does should be expected by Cygwin users. If msysgit wanted to be a really native Windows application and store the configuration where Microsoft thinks it should be stored, it probably shouldn't store the config under "home directory" to begin with (I'm guessing that's what it does) but under %USERPROFILE\Application Data\Git (...FILE\Local Settings\... in case non-roaming storage is wanted). And in that case the manual might be misleading for msysgit users. See e.g. <http://msdn.microsoft.com/en-us/library/ms995853.aspx>.

-- 
Hannu
Previous: Johannes SchindelinNext: Felipe Contreras
Message 15 of 25 in “user-manual: Simplify the user configuration.”
  1. 1/2 user-manual: Simplify the user configuration.Felipe Contreras, Jan 21, 2009
  2. 2/2 Fix typo.Felipe Contreras, Jan 21, 2009
  3. Markus HeidelbergJan 21, 2009
  4. user-manual: Simplify the user configuration.Felipe Contreras, Jan 21, 2009
  5. Jeff KingJan 21, 2009
  6. Felipe ContrerasJan 21, 2009
  7. Jeff KingJan 21, 2009
  8. Junio C HamanoJan 21, 2009
  9. Wincent ColaiutaJan 21, 2009
  10. Felipe ContrerasJan 21, 2009
  11. Hannu KoivistoJan 22, 2009
  12. Felipe ContrerasJan 22, 2009
  13. Junio C HamanoJan 22, 2009
  14. Johannes SchindelinJan 22, 2009
  15. Hannu KoivistoJan 22, 2009
  16. Felipe ContrerasJan 24, 2009
  17. Johannes SchindelinJan 24, 2009
  18. Felipe ContrerasJan 24, 2009
  19. Junio C HamanoJan 25, 2009
  20. Felipe ContrerasJan 25, 2009
  21. Jeff KingJan 25, 2009
  22. Wincent ColaiutaJan 25, 2009
  23. Jeff KingJan 25, 2009
  24. Kyle MoffettJan 25, 2009
  25. Johannes SchindelinJan 25, 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.