mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
15 lines
199 B
Bash
Executable file
15 lines
199 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
branch=master
|
|
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 |