Pazu wrote:
2006/12/14, Andreas Ericsson <ae@xxxxxx>:
Correction: I just tested this, and while git-add won't touch the file,
git-update-index will, and git-status still shows it as modified.
Yes, and that's exactly my problems. There are a number of
modified/removed files in my working copy that were previously added
to the repository, and git-status shows them as modified/removed, even
when they're listed in .gitignore or .git/info/exclude
This feels like a bug to me.
Dunno, sounds like this is by design. I acknowledge that my situation
is unusual, and most often, you'll want to always track a file once
it's been added to the repository.
-- Pazu
Why not remove it from the repo, then set .gitignore?
If it is generated code, or compiled code, it probably shouldn't be in
the repo in the first place . . . Simply correct that mistake, and you
are good to go.
Rogan
-
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