summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.ui/src
diff options
context:
space:
mode:
authorChristian Halstrick <christian.halstrick@sap.com>2015-10-14 16:25:45 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2016-01-20 11:14:19 +0100
commitda43d8d79890e561a993a4d90e6a2724a04cd60f (patch)
treea48b07e93a6f17e0bc4c8f843d504517c29ed132 /org.eclipse.jgit.ui/src
parenta01d6c1e55093529aaddc54bb6082a818f0956c6 (diff)
downloadjgit-da43d8d79890e561a993a4d90e6a2724a04cd60f.tar.gz
jgit-da43d8d79890e561a993a4d90e6a2724a04cd60f.zip
Add option to allow empty commits to CommitCommand
CommitCommand should allow to specify whether empty commits (commits having the same tree as the sole predecessor commit) are allowed or not. Similar to native git's "--allow-empty" flag. The defaults differ between JGit and native git even after this change. When not specifying paths then by default JGit allows to create empty commits while native git does not. It would be API breaking to change this now. Bug: 460301 Change-Id: I88feb0c3ffb2c686b1d0594e669729b065cda4cb Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.ui/src')
0 files changed, 0 insertions, 0 deletions