diff options
author | Shawn Pearce <spearce@spearce.org> | 2016-01-18 10:42:00 -0800 |
---|---|---|
committer | Shawn Pearce <spearce@spearce.org> | 2016-01-18 11:39:09 -0800 |
commit | eadfcd3ec166c55c1ff3f3fe0b5e97dd94ff8d83 (patch) | |
tree | f809839ade46cbf832328b8f4d0e5bc3a33aa8cf /org.eclipse.jgit.http.test/tst/org/eclipse | |
parent | f52581c6a50d841e1939dbd69d174effa63c8c57 (diff) | |
download | jgit-eadfcd3ec166c55c1ff3f3fe0b5e97dd94ff8d83.tar.gz jgit-eadfcd3ec166c55c1ff3f3fe0b5e97dd94ff8d83.zip |
ReceiveCommand.abort(): Utility to mark batch of commands as failed
If one or more commands is failing the entire group usually has to
also fail with "transaction aborted". Pull this loop into a helper
so the idiom can be easily reused in several places throughout JGit.
Change-Id: I3b9399b7e26ce2b0dc5f7baa85d585a433b4eaed
Diffstat (limited to 'org.eclipse.jgit.http.test/tst/org/eclipse')
0 files changed, 0 insertions, 0 deletions