2022-12-18 12:54:09 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if [ -z "$@" ]
|
|
|
|
then
|
2023-01-31 15:59:13 +00:00
|
|
|
$(git config --get core.editor) $(git rev-parse --show-toplevel)/.git/info/exclude
|
2022-12-18 12:54:09 +00:00
|
|
|
else
|
2023-05-17 09:01:20 +00:00
|
|
|
for file in "$@"
|
|
|
|
do echo "$file" >> "$(git rev-parse --show-toplevel)/.git/info/exclude"
|
|
|
|
done
|
2022-12-18 12:54:09 +00:00
|
|
|
fi
|