Re: Ignoring local changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2007/9/13, Andreas Ericsson <ae@xxxxxx>:

> I think that if you need help to remember which two files you edited you're in
> bigger trouble than git can help you solve ;-)

Eh, this is a Java project. So it's more like

git commit src/stupid/long/path/name/with/a/dozen/components/HugeClass.java

Anyway, it's not that I can't work with git right now, but things
would feel infinitely better if I could issue a 'git status' and see
only the files that I'm actually interested in.

> Otherwise, use .git/info/exclude (or some such, the exact name eludes me) to
> mark the IDE-modified files. That will work just the same as .gitignore though,
> so you won't be able to commit them later either.

Unfortunately, git-status won't ignore files already added to the
repository, even if they match something in .git/info/exclude --
that's the very source of my problem.

> Out of curiousity; Why does the IDE change those files if they're part of the
> project? If they *are* part of the project, why use an IDE that changes your
> source unless you want it to?

Because it sucks. It's and old version IBM WebSphere, that insist on
reordering classpath entries, modifying server configurations, and
things like that. Unfortunately, it's a company mandated tool, and
even if it wasn't, the project is already so irremediably tied to
WebSphere specific features that I wouldn't be able to use anything
else.

I'm a small fish, trying to swim against the stream. I'm trying to use
git to improve my personal productivity, but I can't force anything
"upstream", so modifying the svn repository to remove these
problematic files is out of question.

Thanks,

-- Pazu
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux