| @@ -347,16 +347,16 @@ private static int OnInstallCommand(string path, string version, IReadOnlyList<s |
|
|
| 347 |
347 |
return (int)ExitCodes.OK; |
| 348 |
348 |
} |
| 349 |
349 |
|
| 350 |
|
-private static int OnGetVersionCommand(string project, IReadOnlyList<string> metadata, string format, string variable, string commitIsh) |
|
350 |
+private static int OnGetVersionCommand(string project, IReadOnlyList<string> metadata, string format, string variable, string commitish) |
| 351 |
351 |
{ |
| 352 |
352 |
if (string.IsNullOrEmpty(format)) |
| 353 |
353 |
{ |
| 354 |
354 |
format = DefaultOutputFormat; |
| 355 |
355 |
} |
| 356 |
356 |
|
| 357 |
|
-if (string.IsNullOrEmpty(commitIsh)) |
|
357 |
+if (string.IsNullOrEmpty(commitish)) |
| 358 |
358 |
{ |
| 359 |
|
-commitIsh = DefaultRef; |
|
359 |
+commitish = DefaultRef; |
| 360 |
360 |
} |
| 361 |
361 |
|
| 362 |
362 |
string searchPath = GetSpecifiedOrCurrentDirectoryPath(project); |
| @@ -368,9 +368,9 @@ private static int OnGetVersionCommand(string project, IReadOnlyList met |
|
|
| 368 |
368 |
return (int)ExitCodes.NoGitRepo; |
| 369 |
369 |
} |
| 370 |
370 |
|
| 371 |
|
-if (!context.TrySelectCommit(commitIsh)) |
|
371 |
+if (!context.TrySelectCommit(commitish)) |
| 372 |
372 |
{ |
| 373 |
|
-Console.Error.WriteLine("rev-parse produced no commit for {0}", commitIsh); |
|
373 |
+Console.Error.WriteLine("rev-parse produced no commit for {0}", commitish); |
| 374 |
374 |
return (int)ExitCodes.BadGitRef; |
| 375 |
375 |
} |
| 376 |
376 |
|