Skip to content

Commit

Permalink
More logging in argument parser
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertvanHorrik committed Nov 27, 2016
1 parent d932f28 commit 3fb37e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/GitLink/ArgumentParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ public static Context ParseArguments(List<string> commandLineArguments, IProvide
{
var currentBranch = repo.Head;

Log.Debug($"Current branch is '{currentBranch.CanonicalName}', remote: '{currentBranch.Remote?.Url}', isDetachedHead: '{currentBranch.IsDetachedHead()}'");

if (string.IsNullOrEmpty(context.ShaHash))
{
context.ShaHash = currentBranch.Tip.Sha;
Expand Down

0 comments on commit 3fb37e9

Please sign in to comment.