]> source.dussan.org Git - jgit.git/commitdiff
Merge branch 'stable-5.5' into stable-5.6 99/189199/2 stable-5.6
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 30 Dec 2021 22:51:41 +0000 (23:51 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 30 Dec 2021 22:51:41 +0000 (23:51 +0100)
* stable-5.5:
  Use FileSnapshot without using configs for FileBasedConfig

Change-Id: If904289feecd1e0d8466c1fb998f160f14d54b61

1  2 
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LockFile.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileBasedConfig.java

index 78262e977366875b7428bf9df00a659587f4be1f,eda4da8e90a1b3e61d5af2b690d150091ab3f177..d06b5a72d191e80d3ccf73eb9bfc00e432c7dbb0
@@@ -100,12 -133,10 +100,14 @@@ public class LockFile 
  
        private boolean needSnapshot;
  
 -      private boolean snapshotNoConfig;
 +      private boolean fsync;
 +
 +      private boolean isAppend;
  
 -      boolean fsync;
 +      private boolean written;
 +
++      private boolean snapshotNoConfig;
        private FileSnapshot commitSnapshot;
  
        private LockToken token;