[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50377] [PATCH v2 1/2] git: 'resolve-reference' handles 'git describ
From: |
Marius Bakke |
Subject: |
[bug#50377] [PATCH v2 1/2] git: 'resolve-reference' handles 'git describe'-style commit IDs. |
Date: |
Mon, 06 Sep 2021 00:52:08 +0200 |
Marius Bakke <marius@gnu.org> skriver:
> * guix/git.scm (resolve-reference): Use REVPARSE-SINGLE for looking up
> commits. Rewrite tag-or-commit case to recognize 'git describe' style
> identifiers and resolve them as commits.
I realize we can do this without resorting to 'revparse-single', which
does essentially the same as this procedure. We just have to extract
the short commit from the describe string. New patch attached:
0001-git-resolve-reference-handles-git-describe-style-com.patch
Description: Text Data
signature.asc
Description: PGP signature