]> source.dussan.org Git - jgit.git/commit
Use proper constants for .gitignore and .git directory 55/1155/1
authorShawn O. Pearce <spearce@spearce.org>
Tue, 20 Jul 2010 16:11:39 +0000 (09:11 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 20 Jul 2010 16:11:39 +0000 (09:11 -0700)
commit938943d6747bb915e89714f21388a1f1e6ca0b24
tree55920fbfc18a3efae728c5fcc218e3808d8432f4
parentc59db09bc5c4c66338358c8a9b985ceced21e346
Use proper constants for .gitignore and .git directory

We have a constant for .gitignore, so use it.  While we are in
the same method, correct the reference of ".git" to be the actual
GIT_DIR given.  This might not be within the work tree if the
GIT_DIR and GIT_WORK_TREE environment variables were used.

Change-Id: I38e1cec13405109b9c347858b38dd9fb2f1f2560
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
CC: Charley Wang <chwang@redhat.com>
CC: Chris Aniszczyk <caniszczyk@gmail.com>
CC: Stefan Lay <stefan.lay@sap.com>
CC: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/ignore/SimpleIgnoreCache.java