gitignore and shared worktrees (was: finding the right remote branch for a commit)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Cc: Johannes Schindelin <Johannes.Schindelin@...>
Date: Tuesday, July 17, 2007 - 9:09 am

Sorry for the somewhat late reply, I just found time on the weekend
to check out this suggestion by Johannes

  (http://marc.info/?l=3Dgit&m=3D118418927823760&w=3D2)

also sprach Johannes Schindelin <Johannes.Schindelin@gmx.de> [2007.07.11.21=
26 +0200]:

This actually seems to work really nicely, but I am somewhat
displeased by the gitignore/exclude handling, since it's local. What
I want to do is synchronise the vim configuration across many
workstations with git, and I don't want to have to modify
$GIT_DIR/info/exclude on each machine.

So I am tempted to use .gitignore, but that lives in the worktree,
and since the suggestion is to share worktrees between different git
repos, I can only ever have one .gitignore file, which would have to
list ignores for *all* repos in $HOME/gits, which breaks my head.

Do you have any other idea on how to handle ignores? I guess one
alternative is just to ignore git status output altogether, but
that's not really nice.

Would people consider honoring .gitignore-* in addition to just
=2Egitignore? Or maybe even honouring .gitignore/*, if .gitignore is
a directory, not a file?

Cheers,

--=20
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
=20
spamtraps: madduck.bogus@madduck.net
=20
"i like .net for the same reason i like gentoo. it keeps all the
 people with no clue from writing c code, which is much harder for me
 to identify and eliminate from my systems. in the same way that
 gentoo gives those people a place to be that isn't in debian"
                                                    -- andrew suffield
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
gitignore and shared worktrees (was: finding the right remot..., martin f krafft, (Tue Jul 17, 9:09 am)
gitignore and shared worktrees (resend), martin f krafft, (Thu Aug 16, 6:22 am)
Re: gitignore and shared worktrees (resend), Johannes Schindelin, (Fri Aug 17, 6:21 pm)