diff options
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java index ea2ef358b7..7151de794d 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java @@ -232,16 +232,16 @@ public class Main { /** * Evaluate the {@code --git-dir} option and open the repository. * - * @param gitdir + * @param aGitdir * the {@code --git-dir} option given on the command line. May be * null if it was not supplied. * @return the repository to operate on. * @throws IOException * the repository cannot be opened. */ - protected Repository openGitDir(String gitdir) throws IOException { + protected Repository openGitDir(String aGitdir) throws IOException { RepositoryBuilder rb = new RepositoryBuilder() // - .setGitDir(gitdir != null ? new File(gitdir) : null) // + .setGitDir(aGitdir != null ? new File(aGitdir) : null) // .readEnvironment() // .findGitDir(); if (rb.getGitDir() == null) |