samintz
Scott Mintz
- May
- 1,582
- 27
I have a git alias that does this:
It works great as long as I invoke it using git - e.g. git last-good-tag.
However, it fails if I run the command from TCC because of the embedded subcommand $(git rev-list --tags --max-count=1).
This works
However, it is limited to a single line of output. If I start git-bash, and type the command and use --max-count=10, I get ten lines of output.
Is this even doable in TCC?
Code:
alias.last-good-tag !git describe --tags --abbrev=0 $(git rev-list --tags --max-count=1) --exclude '*FAIL*'
It works great as long as I invoke it using git - e.g. git last-good-tag.
However, it fails if I run the command from TCC because of the embedded subcommand $(git rev-list --tags --max-count=1).
This works
Code:
git describe --tags --abbrev=0 %@execstr[git rev-list --tags --max-count=1] --exclude '*FAIL*'
Is this even doable in TCC?