Commit 036188a
committed
git-extra: fix the
In 48e2403 (git-extra: ignore generated changes for the sake of
`pkgver`, 2025-03-05) I tried to address the fact that the commit that
updates `pkgver` in `PKGBUILD` necessarily touches the `git-extra/`
subdirectory, yet should not be considered for the package version.
What I failed to address is the rare case when `HEAD` is not the same as
`$rev`, i.e. when the last commit that touched the `git-extra/`
directory` is not at the tip of the branch.
Let's accommodate for that, too.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>pkgver logic again1 parent d90bdff commit 036188a
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
0 commit comments