9 lines
192 B
Text
9 lines
192 B
Text
|
#!/bin/sh
|
||
|
|
||
|
if [ -z "$@" ]
|
||
|
then
|
||
|
!$(git config --get core.editor) $(git rev-parse --show-toplevel)/.git/info/exclude
|
||
|
else
|
||
|
ls -d "$@" >> "$(git rev-parse --show-toplevel)/.git/info/exclude"
|
||
|
fi
|