public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Hannu Koivisto <azure@iki•fi>
To: Felipe Contreras <felipe.contreras@gmail•com>
Cc: Junio C Hamano <gitster@pobox•com>,
	git@vger•kernel.org,
	Johannes Schindelin <Johannes.Schindelin@gmx•de>
Subject: Re: [PATCH 1/2] user-manual: Simplify the user configuration.
Date: Thu, 22 Jan 2009 20:59:32 +0200	[thread overview]
Message-ID: <83wscndv57.fsf@kalahari.s2.org> (raw)
In-Reply-To: <94a0d4530901220857q1027c05bs137dcc0244a1cc5a@mail.gmail.com> (Felipe Contreras's message of "Thu, 22 Jan 2009 18:57:23 +0200")

Felipe Contreras <felipe.contreras@gmail•com> writes:

> 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

  parent reply	other threads:[~2009-01-22 19:01 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-21 18:09 [PATCH 1/2] user-manual: Simplify the user configuration Felipe Contreras
2009-01-21 18:09 ` [PATCH 2/2] Fix typo Felipe Contreras
2009-01-21 18:55 ` [PATCH 1/2] user-manual: Simplify the user configuration Markus Heidelberg
2009-01-21 19:04   ` [PATCH] " Felipe Contreras
2009-01-21 19:18     ` Jeff King
2009-01-21 19:39       ` Felipe Contreras
2009-01-21 19:51         ` Jeff King
2009-01-21 20:54 ` [PATCH 1/2] " Junio C Hamano
2009-01-21 21:13   ` Wincent Colaiuta
2009-01-21 21:19   ` Felipe Contreras
2009-01-22 16:17     ` Hannu Koivisto
2009-01-22 16:57       ` Felipe Contreras
2009-01-22 17:14         ` Junio C Hamano
2009-01-22 17:28           ` Johannes Schindelin
2009-01-22 18:59         ` Hannu Koivisto [this message]
2009-01-24  8:21           ` Felipe Contreras
2009-01-24 13:42             ` Johannes Schindelin
2009-01-24 14:04               ` Felipe Contreras
2009-01-25 20:34                 ` Junio C Hamano
2009-01-25 21:12                   ` Felipe Contreras
2009-01-25 21:44                     ` Jeff King
2009-01-25 22:55                       ` Wincent Colaiuta
2009-01-25 23:20                         ` Jeff King
2009-01-25  7:32           ` Kyle Moffett
2009-01-25 12:06             ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83wscndv57.fsf@kalahari.s2.org \
    --to=azure@iki$(echo .)fi \
    --cc=Johannes.Schindelin@gmx$(echo .)de \
    --cc=felipe.contreras@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=gitster@pobox$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox