mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
15 lines
220 B
Bash
Executable file
15 lines
220 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
branch=$(git_extra_default_branch)
|
|
filter=ACM
|
|
|
|
if test $# -eq 1; then
|
|
branch=$1
|
|
else
|
|
if test $# -eq 2; then
|
|
branch=$1
|
|
filter=$2
|
|
fi
|
|
fi
|
|
|
|
git diff --name-only --diff-filter=$filter $branch |