Skip to content

Commit

Permalink
Merge pull request #8085 from edolstra/fetchGit-md
Browse files Browse the repository at this point in the history
Fix rendering of fetchGit documentation
  • Loading branch information
edolstra authored Mar 21, 2023
2 parents cdfa59d + 16cb9b9 commit 4dcc0a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libexpr/primops/fetchTree.cc
Original file line number Diff line number Diff line change
Expand Up @@ -481,10 +481,10 @@ static RegisterPrimOp primop_fetchGit({
builtins.fetchGit ./work-dir
```
If the URL points to a local directory, and no `ref` or `rev` is
given, `fetchGit` will use the current content of the checked-out
files, even if they are not committed or added to Git's index. It will
only consider files added to the Git repository, as listed by `git ls-files`.
If the URL points to a local directory, and no `ref` or `rev` is
given, `fetchGit` will use the current content of the checked-out
files, even if they are not committed or added to Git's index. It will
only consider files added to the Git repository, as listed by `git ls-files`.
)",
.fun = prim_fetchGit,
});
Expand Down

0 comments on commit 4dcc0a1

Please sign in to comment.