forked from lix-project/lix
Merge pull request #8085 from edolstra/fetchGit-md
Fix rendering of fetchGit documentation
This commit is contained in:
commit
4dcc0a1b76
|
@ -481,10 +481,10 @@ static RegisterPrimOp primop_fetchGit({
|
||||||
builtins.fetchGit ./work-dir
|
builtins.fetchGit ./work-dir
|
||||||
```
|
```
|
||||||
|
|
||||||
If the URL points to a local directory, and no `ref` or `rev` is
|
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
|
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
|
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`.
|
only consider files added to the Git repository, as listed by `git ls-files`.
|
||||||
)",
|
)",
|
||||||
.fun = prim_fetchGit,
|
.fun = prim_fetchGit,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue