private void DescribeGitRepository()
{
try
{
var repoDescription = File.ReadAllLines(@".git\description");
if (repoDescription.Length == 0 || !repoDescription[0].StartsWith("$/"))
return;
DisplayReadabilityLineJump();
Trace.TraceInformation("cloned from tfs path:" + string.Join(Environment.NewLine, repoDescription));
}
catch (Exception)
{
Trace.WriteLine("warning: unable to read the repository description!");
}
}