-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimal parsing, inferred loc type, fewer commands and less bandwidth
- Loading branch information
1 parent
64a17e5
commit 5a16399
Showing
3 changed files
with
89 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,17 +35,18 @@ root directory to install file targets with a relative path: | |
branch, or long commit hash to specify the commit at which you want | ||
to extract. These should follow the same semantics as if you git | ||
cloned ``REPOSITORY_URL``, git checkout'ed ``TREEISH``, and extracted | ||
the path ``PATHSPEC`` within the clone. To extract from the root of | ||
the repository use a ``PATHSPEC`` of ``./`` e.g. | ||
the path ``PATHSPEC`` within the clone. ``PATHSPEC`` must end with a | ||
trailing slash (``/``) if it is a directory. To extract from the root | ||
of the repository use a ``PATHSPEC`` of ``./`` e.g. | ||
``git:[email protected]:metomi/rose::./::2.2.0``. It may help to think | ||
of the parts of the location as git:Where::What::When. Examples: | ||
|
||
.. code-block:: rose | ||
# Download the sphinx directory from the master branch of | ||
# the github.com/metomi/rose repo. | ||
# the github.com/metomi/rose repo. Note trailing slash. | ||
[file:rose-docs] | ||
source=git:[email protected]:metomi/rose::sphinx::master | ||
source=git:[email protected]:metomi/rose::sphinx/::master | ||
# Extract the whole contents of version 2.0.1 of the local | ||
# repository at /home/user/some/path/to/my/git/repo. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters