пример: diff v@version:. . exclude=.gear/* в патч пролезают .gear/tags/* приходится указывать ещё один exclude, что не очень удобно.
Из gear-rules(5): diff: v@version@:. . exclude=.gear/** exclude=*.spec
Спасибо. С .gear/** из man было не очень очевидно и я этого не заметил, может быть явно это описать в какой-то секции ? Что-то вроде "if you want to add recursive subdirectories into exclude mask, use a double asterisk (**)"
Тут скорее стоит дать ссылку на формат glob в git. https://git-scm.com/docs/gitignore#_pattern_format
Точно, так будет лучше. Спасибо.
https://git.altlinux.org/people/ldv/packages/?p=gear.git;a=commit;h=2.5.0-alt1-3-g0b196e1
gear-2.5.1-alt1 -> sisyphus: Fri Jan 14 2022 Dmitry V. Levin <ldv@altlinux> 2.5.1-alt1 - gear-rules.5: added references to git glob syntax (closes: #39804). - gear-store-tags: fixed the warning about specsubst directive (closes: #39898). - gear-edit-spec: do not invoke an editor when no spec file was found (closes: #40023). - gear: added git worktree support (closes: #40990).