Add a constant for info/exclude
Change-Id: Ifd537ce4e726cb9460ea332f683428689bd3d7f4
This commit is contained in:
parent
0182e8152e
commit
0a824f5996
|
@ -265,6 +265,9 @@ public final class Constants {
|
|||
/** Packed refs file */
|
||||
public static final String PACKED_REFS = "packed-refs";
|
||||
|
||||
/** Excludes-file */
|
||||
public static final String INFO_EXCLUDE = "info/exclude";
|
||||
|
||||
/** The environment variable that contains the system user name */
|
||||
public static final String OS_USER_NAME_KEY = "user.name";
|
||||
|
||||
|
|
|
@ -1074,8 +1074,8 @@ IgnoreNode load() throws IOException {
|
|||
loadRulesFromFile(r, excludesfile);
|
||||
}
|
||||
|
||||
File exclude = fs
|
||||
.resolve(repository.getDirectory(), "info/exclude"); //$NON-NLS-1$
|
||||
File exclude = fs.resolve(repository.getDirectory(),
|
||||
Constants.INFO_EXCLUDE);
|
||||
loadRulesFromFile(r, exclude);
|
||||
|
||||
return r.getRules().isEmpty() ? null : r;
|
||||
|
|
Loading…
Reference in New Issue