Git development
 help / color / mirror / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Felipe Contreras <felipe.contreras@gmail.com>
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 14:42:20 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.1.00.0901241438370.13232@racer> (raw)
In-Reply-To: <94a0d4530901240021u65adeff8pb6995ef707bc1f68@mail.gmail.com>

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.

Ciao,
Dscho

  reply	other threads:[~2009-01-24 13:45 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 [this message]
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=alpine.DEB.1.00.0901241438370.13232@racer \
    --to=johannes.schindelin@gmx.de \
    --cc=azure@iki.fi \
    --cc=felipe.contreras@gmail.com \
    --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