diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-07-26 11:09:56 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-07-26 11:21:36 +0200 |
commit | 177fecb57c0c9e15249bf6a49244c9dc6eb8439c (patch) | |
tree | eee85cf5f6b1f14171a5cc07ed21f721e7bdd300 /doc/guix.texi | |
parent | c4c2449fea9b7fd78f61ffb9bbe19ab2ef6c8b41 (diff) | |
download | patches-177fecb57c0c9e15249bf6a49244c9dc6eb8439c.tar patches-177fecb57c0c9e15249bf6a49244c9dc6eb8439c.tar.gz |
git: <git-checkout> allows tags in its 'commit' field.
Fixes <https://bugs.gnu.org/36371>.
Reported by Tobias Geerinckx-Rice <me@tobias.gr>.
* guix/git.scm (git-checkout-compiler): Pass 'tag-or-commit' to
'latest-repository-commit*'.
* doc/guix.texi (Package Transformation Options): Update '--with-commit'
documentation accordingly.
* tests/guix-build-branch.sh: Add test.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index c2da4ce173..96448c24e5 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -8048,7 +8048,7 @@ guix build --with-branch=guile-sqlite3=master cuirass @item --with-commit=@var{package}=@var{commit} This is similar to @code{--with-branch}, except that it builds from @var{commit} rather than the tip of a branch. @var{commit} must be a valid -Git commit SHA1 identifier. +Git commit SHA1 identifier or a tag. @end table @node Additional Build Options |