diff options
Diffstat (limited to 'org.eclipse.jgit.pgm/src')
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/ConvertRefStorage.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/ConvertRefStorage.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/ConvertRefStorage.java index 3f3cd12a0e..d5a23be66f 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/ConvertRefStorage.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/ConvertRefStorage.java @@ -57,9 +57,13 @@ class ConvertRefStorage extends TextBuiltin { "-b" }, usage = "usage_convertRefStorageBackup") private boolean backup = true; + @Option(name = "--reflogs", handler = ExplicitBooleanOptionHandler.class, aliases = { + "-r" }, usage = "usage_convertRefStorageRefLogs") + private boolean writeLogs = true; + /** {@inheritDoc} */ @Override protected void run() throws Exception { - ((FileRepository) db).convertRefStorage(format, true, backup); + ((FileRepository) db).convertRefStorage(format, writeLogs, backup); } } |