pgm: Fix missing braces in Rm command
Change-Id: I5ad2f02516917bbd02aa0eb4fb6b05d4b06dc670 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
ed0d6e69f9
commit
9ef393c747
|
@ -65,8 +65,9 @@ class Rm extends TextBuiltin {
|
|||
protected void run() {
|
||||
try (Git git = new Git(db)) {
|
||||
RmCommand command = git.rm();
|
||||
for (String p : paths)
|
||||
for (String p : paths) {
|
||||
command.addFilepattern(p);
|
||||
}
|
||||
command.call();
|
||||
} catch (GitAPIException e) {
|
||||
throw die(e.getMessage(), e);
|
||||
|
|
Loading…
Reference in New Issue