]> source.dussan.org Git - jgit.git/commit
Fix usage of FileSnapshot in RefDirectory 81/3581/1
authorChristian Halstrick <christian.halstrick@sap.com>
Mon, 30 May 2011 22:22:40 +0000 (00:22 +0200)
committerChristian Halstrick <christian.halstrick@sap.com>
Mon, 30 May 2011 22:22:40 +0000 (00:22 +0200)
commit475461d05266fe13b05bc2c6645b9ef928521b4c
tree62d6ce869aafe00fc5e72774f70ea7513071a6d7
parent03a6f572b5968dc8f77b5c85e3097448df6ea27e
Fix usage of FileSnapshot in RefDirectory

RefDirectory was not using FileSnapshot correctly in all places. This
is fixed with this commit. Additionally the constructors for the
different types of refs have been changed to take a FileSnapshot
instead of a modification time.

Change-Id: Ifb6a59e87e8b058a398c38cdfb9d648f0bad4bf8
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/RefDirectory.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/RefDirectoryUpdate.java