]> source.dussan.org Git - jgit.git/commit
Add getPackFile to ReceivePack to make PostReceiveHook more usable 46/22446/4
authorSaša Živkov <sasa.zivkov@sap.com>
Mon, 24 Feb 2014 16:03:40 +0000 (17:03 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 25 Feb 2014 17:14:39 +0000 (18:14 +0100)
commit2670fd427cd4aad49ccdb6dde66271fdffff86f8
tree0c0376926e8dfb745916b5f6f444f7e4e2621748
parent0d05e5d26ce362b4b8c06e6b847fa93730065b48
Add getPackFile to ReceivePack to make PostReceiveHook more usable

Having access to the pack file that was created by the ReceivePack
may be useful for post receive hooks. For example, a hook may want
to check the size of the received pack and the created index.

Change-Id: I4d51758e4565d32c9f8892242947eb72644b847d
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/.settings/.api_filters
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackLock.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/BaseReceivePack.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java