Skip to content

Commit fd36b00

Browse files
committed
Add comments
1 parent ab987b0 commit fd36b00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tooling/docs-assembler/Sourcing/RepositorySourcesFetcher.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,9 @@ public Checkout CloneRef(Repository repository, string gitRef, bool pull = false
141141
return CloneRef(repository, gitRef, pull, attempt + 1);
142142
}
143143
}
144-
144+
// Repository already checked out the same commit
145145
if (head != null && head == gitRef)
146+
// nothing to do, already at the right commit
146147
_logger.LogInformation("{RepositoryName}: HEAD already at {GitRef}", repository.Name, gitRef);
147148
else
148149
{

0 commit comments

Comments
 (0)