mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
make: diff for tag if requested
This commit is contained in:
parent
35c53f1010
commit
07a012bb55
8
Makefile
8
Makefile
@ -449,7 +449,11 @@ ensure-stable:
|
||||
fi
|
||||
|
||||
diff: ensure-stable
|
||||
@git diff --stat -p stable/${CORE_ABI} ${.CURDIR}/${diff_ARGS:[1]}
|
||||
@if [ "$$(git tag -l | grep -cx '${diff_ARGS:[1]}')" = "1" ]; then \
|
||||
git diff --stat -p ${diff_ARGS:[1]}; \
|
||||
else \
|
||||
git diff --stat -p stable/${CORE_ABI} ${.CURDIR}/${diff_ARGS:[1]}; \
|
||||
fi
|
||||
|
||||
mfc: ensure-stable clean-mfcdir
|
||||
.for MFC in ${mfc_ARGS}
|
||||
@ -482,7 +486,7 @@ rebase:
|
||||
@git rebase -i
|
||||
@git checkout master
|
||||
|
||||
log:
|
||||
log ensure-stable:
|
||||
@git log --stat -p stable/${CORE_ABI}
|
||||
|
||||
push:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user