From: Felipe Contreras <felipe.contreras@gmail.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Hannu Koivisto <azure@iki.fi>, Junio C Hamano <gitster@pobox.com>,
git@vger.kernel.org
Subject: Re: [PATCH 1/2] user-manual: Simplify the user configuration.
Date: Sat, 24 Jan 2009 16:04:11 +0200 [thread overview]
Message-ID: <94a0d4530901240604o5ae0d321h17dc6aabeefe9d53@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.00.0901241438370.13232@racer>
On Sat, Jan 24, 2009 at 3:42 PM, Johannes Schindelin
<Johannes.Schindelin@gmx.de> wrote:
> Hi,
>
> On Sat, 24 Jan 2009, Felipe Contreras wrote:
>
>> On Thu, Jan 22, 2009 at 8:59 PM, Hannu Koivisto <azure@iki.fi> wrote:
>> > 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>.
>>
>> Isn't that enough argument to stop assuming the user knows where is
>> the "home directory"?
>
> Why does it appear as if we always have to bend over for Windows? That is
> really frustrating.
>
> In any case, the only thing the user would need to know the location of
> $HOME for is for .gitconfig. And for Windows users I suggest using the
> dialog in git gui (for the variables that are editable there), which
> should cover most of what the user needs. For everything else, they
> should use "git config".
>
> Because if you really start with explaining where the home can be on
> Windows, you would also have to cover why "%USERPROFILE%" does not work in
> Git bash. And before you know what is happening, you have a big ass
> Windows chapter in the user manual that revolves around anything except
> Git.
Huh? That was exactly my point.
It's much easier for everyone to just use git config --global than
explain how create and edit the .gitconfig file. If this is explained
it shouldn't be in the "Telling git your name" section.
--
Felipe Contreras
next prev parent reply other threads:[~2009-01-24 14:05 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
2009-01-24 8:21 ` Felipe Contreras
2009-01-24 13:42 ` Johannes Schindelin
2009-01-24 14:04 ` Felipe Contreras [this message]
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=94a0d4530901240604o5ae0d321h17dc6aabeefe9d53@mail.gmail.com \
--to=felipe.contreras@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=azure@iki.fi \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).