Skip to content

Commit

Permalink
Merge pull request #841 from pmiossec/better_display_tfs_path
Browse files Browse the repository at this point in the history
Better display tfs path of the remote we are working on...
  • Loading branch information
pmiossec committed Aug 17, 2015
2 parents 850ddce + c4ad0d3 commit b8a1cbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions GitTfs/Globals.cs
Expand Up @@ -84,7 +84,7 @@ public string RemoteId
}

_remoteId = foundRemote.Id;
Stdout.WriteLine("Working with tfs remote: " + _remoteId);
Stdout.WriteLine("Working with tfs remote: " + _remoteId + " => " + foundRemote.TfsRepositoryPath);
return _remoteId;
}

Expand All @@ -96,10 +96,11 @@ public string RemoteId
if (allRemotes.Count() == 1)
{
//Case where the repository is just initialised
_remoteId = allRemotes.First().Id;
var foundRemote = allRemotes.First();
_remoteId = foundRemote.Id;
if (_remoteId == GitTfsConstants.DefaultRepositoryId)
{
Stdout.WriteLine("Working with tfs remote: " + _remoteId);
Stdout.WriteLine("Working with tfs remote: " + _remoteId + " => " + foundRemote.TfsRepositoryPath);
return _remoteId;
}
}
Expand Down
1 change: 1 addition & 0 deletions doc/release-notes/NEXT.md
@@ -1 +1,2 @@
* Gated check-in support, triggering a build to validate the check-in (#839, @pmiossec)
* Better display tfs path of the remote we are working on (#841, @pmiossec)

0 comments on commit b8a1cbe

Please sign in to comment.