DarkWiiPlayer
c5e7a97424
The script was trying to be too smart and now no longer looks for actual files but instead just adds everything to the gitignore file directly. Use shell globbing for automatic file listing instead.
10 lines
220 B
Bash
Executable file
10 lines
220 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ -z "$@" ]
|
|
then
|
|
$(git config --get core.editor) $(git rev-parse --show-toplevel)/.git/info/exclude
|
|
else
|
|
for file in "$@"
|
|
do echo "$file" >> "$(git rev-parse --show-toplevel)/.git/info/exclude"
|
|
done
|
|
fi
|