Fix the fixes alias to work on Windows
Apparently Windows doesn't have normal things. Like sed. Or tail. So, we need to use git langauge instead
This commit is contained in:
parent
c4fcff46ab
commit
455f6fadac
|
@ -6,7 +6,7 @@
|
|||
# git config --add include.path $(pwd)/helpers/git/fixes_alias
|
||||
|
||||
fixes = "!f() { \
|
||||
COMMIT_MSG=$(git log -1 --format=medium | tail -n +5 | sed -e 's/^ //'); \
|
||||
COMMIT_MSG=$(git log -n1 --format=%B); \
|
||||
git commit --amend -m \"${COMMIT_MSG}\n\nFixes https://gitlab.com/kicad/code/kicad/issues/$1\"; \
|
||||
}; f"
|
||||
|
||||
|
|
Loading…
Reference in New Issue