Browse Source

diff: Fix bad metaVar reference in --abbrev option

Change-Id: If92545b731ff80bff071aee9bbd852bbd187c7c5
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
stable-0.9
Shawn O. Pearce 14 years ago
parent
commit
efde2e3ea7
  1. 2
      org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Diff.java

2
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Diff.java

@ -122,7 +122,7 @@ class Diff extends TextBuiltin {
diffFmt.setContext(lines); diffFmt.setContext(lines);
} }
@Option(name = "--abbrev", metaVar = "n") @Option(name = "--abbrev", metaVar = "metaVar_n")
void abbrev(int lines) { void abbrev(int lines) {
diffFmt.setAbbreviationLength(lines); diffFmt.setAbbreviationLength(lines);
} }

Loading…
Cancel
Save