git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Specifying excludesfile in a portable way?
@ 2009-12-24  3:45 Fyn Fynn
  2009-12-24  5:53 ` Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: Fyn Fynn @ 2009-12-24  3:45 UTC (permalink / raw)
  To: git

I have specify an excludesfile in my ~/.gitconfig:

  [core]
      excludesfile = /Users/fynn/.gitexcludes

This works fine for my OS X workstation. But when I sync this
.gitconfig to our Linux server, the excludesfile is ignored because my
home directory there is /home/fynn.

Is there a way to specify that in a portable way?  I tried both
~/.gitexcludes and $HOME/.gitexcludes; neither worked on any platform.

git version on both platforms is 1.6.4

Thanks,
Fynn

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-24  7:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-24  3:45 Specifying excludesfile in a portable way? Fyn Fynn
2009-12-24  5:53 ` Jeff King
2009-12-24  7:14   ` Fyn Fynn
2009-12-24  7:36     ` Jeff King

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).