Skip to content

Commit

Permalink
Update comments and help text
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Rader committed Aug 16, 2018
1 parent 22e41b5 commit f41452d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions GVFS/FastFetch/FastFetchVerb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ public class FastFetchVerb
"force-checkout",
Required = false,
Default = false,
HelpText = "Force FastFetch to fetch and checkout content as if the current repo had just been initialized." +
HelpText = "Force FastFetch to checkout content as if the current repo had just been initialized." +
"This allows you to include more folders from the repo that were not originally checked out." +
"Can only be used with --checkout")]
"Can only be used with the --checkout option.")]
public bool ForceCheckout { get; set; }

[Option(
Expand Down
1 change: 0 additions & 1 deletion GVFS/GVFS.Common/Prefetch/BlobPrefetcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ public void PrefetchWithStats(
string previousCommit = null;

// Use the shallow file to find a recent commit to diff against to try and reduce the number of SHAs to check.
// Unless force flag has been given, in which case treat as if it's a fresh repo.
if (File.Exists(shallowFile))
{
previousCommit = File.ReadAllLines(shallowFile).Where(line => !string.IsNullOrWhiteSpace(line)).LastOrDefault();
Expand Down

0 comments on commit f41452d

Please sign in to comment.