Skip to content

Commit

Permalink
Fix typo and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bramborman authored and pmiossec committed Apr 5, 2024
1 parent 32b187f commit be035b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/GitTfs/Core/GitTfsRemote.cs
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ private IEnumerable<ITfsChangeset> FetchChangesets(bool byLots, int lastVersion
{
int lowerBoundChangesetId;

// If we're starting at the Root side of a branch commit (e.g. C1), but there ar
// If we're starting at the Root side of a branch commit (e.g. C1), but there are
// invalid commits between C1 and the actual branch side of the commit operation
// (e.g. a Folder with the branch name was created [C2] and then deleted [C3],
// then the root-side was branched [C4; C1 --branch--> C4]), this will detecte
Expand Down Expand Up @@ -756,9 +756,9 @@ public void UpdateTfsHead(string commitHash, int changesetId)

private string TagPrefix => "refs/tags/tfs/" + Id + "/";

public string RemoteRef => "refs/remotes/tfs/" + Id;
public string RemoteRef => "refs/remotes/tfs/" + Id;

private void DoGcIfNeeded()
private void DoGcIfNeeded()
{
Trace.WriteLine("GC Countdown: " + _globals.GcCountdown);
if (--_globals.GcCountdown < 0)
Expand Down Expand Up @@ -967,7 +967,7 @@ private IGitTfsRemote InitTfsBranch(RemoteOptions remoteOptions, string tfsRepos
string.IsNullOrWhiteSpace(gitBranchNameExpected) ? tfsRepositoryPath : gitBranchNameExpected);
if (string.IsNullOrWhiteSpace(gitBranchName))
throw new GitTfsException("error: The Git branch name '" + gitBranchName + "' is not valid...\n");
Trace.WriteLine("Git local branch will be :" + gitBranchName);
Trace.WriteLine("Git local branch will be : " + gitBranchName);

string sha1RootCommit = null;
if (rootChangesetId != -1)
Expand Down

0 comments on commit be035b0

Please sign in to comment.