Prepend hostname to subsection used to store file timestamp resolution
This ensures the measured filesystem timestamp resolution will be only used on the machine where it was measured and avoid errors in case the ~/.jgitconfig file is copied to another machine. Bug: 551850 Change-Id: Iff2a11be62ca94c3bbe4a955182988dc50852f9f Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
838b5a84b5
commit
e102bbed99
|
@ -244,8 +244,9 @@ private static void setBackground(boolean async) {
|
|||
background.set(async);
|
||||
}
|
||||
|
||||
private static final String javaVersionPrefix = System
|
||||
.getProperty("java.vendor") + '|' //$NON-NLS-1$
|
||||
private static final String javaVersionPrefix = SystemReader
|
||||
.getInstance().getHostname() + '|'
|
||||
+ System.getProperty("java.vendor") + '|' //$NON-NLS-1$
|
||||
+ System.getProperty("java.version") + '|'; //$NON-NLS-1$
|
||||
|
||||
private static final Duration FALLBACK_MIN_RACY_INTERVAL = Duration
|
||||
|
|
Loading…
Reference in New Issue