mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 23:46:24 -04:00
Merge pull request #592 from spacewander/fix_integrity
Fix integrity for git-reauthor
This commit is contained in:
commit
ec64fe6500
4
.travis.yml
Normal file
4
.travis.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
os:
|
||||
- linux
|
||||
- osx
|
||||
script: ./check_integrity.sh $(find bin | cut -b 5- | xargs)
|
||||
|
|
@ -15,7 +15,7 @@ check_bash_script() {
|
|||
|| err "Run 'chmod +x bin/$cmd' to make it executable"
|
||||
|
||||
shebang=$(head -n1 "bin/$cmd")
|
||||
test "$shebang" == "#!/usr/bin/env bash" \
|
||||
[[ "$shebang" =~ \#![[:space:]]*/usr/bin/env[[:space:]]+bash ]] \
|
||||
|| err "Start git-$1 with '#!/usr/bin/env bash'"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -391,6 +391,7 @@ zstyle ':completion:*:*:git:*' user-commands \
|
|||
pr:'checks out a pull request locally' \
|
||||
psykorebase:'rebase a branch with a merge commit' \
|
||||
pull-request:'create pull request to GitHub project' \
|
||||
reauthor:'replace the author and/or committer identities in commits and tags' \
|
||||
rebase-patch:'rebases a patch' \
|
||||
refactor:'create refactor branch' \
|
||||
release:'commit, tag and push changes to the repository' \
|
||||
|
|
|
|||
Loading…
Reference in a new issue