better handling of moved files

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2019-04-26 11:28:51 +02:00
parent d08d581312
commit 81c8b041ec
3 changed files with 5 additions and 4 deletions

View File

@ -3,7 +3,7 @@
#
# works together with git pre-push.sh and ADD all changed files since last push
#### $$VERSION$$ v0.70-dev3-4-g8f4b168
#### $$VERSION$$ v0.70-dev3-9-gd08d581
# magic to ensure that we're always inside the root of our application,
# no matter from which directory we'll run script
@ -21,7 +21,8 @@ echo -n "Add files to repo: "
for file in ${FILES}
do
[ -d "${file}" ] && continue
git add "${file}" && echo -n "${file} "
echo -n "${file} "
done
git add .
echo "done."

View File

@ -25,7 +25,7 @@ Location of the files ```commands.sh```, ```mycommands.sh```, ```token```, ```bo
e.g. /etc/bashbot
#### BASHBOT_VAR
Location of runtime data files 'data-bot-bash', 'count', downloaded files ...
Location of runtime data ```data-bot-bash```, ```count```
```bash
unset BASHBOT_VAR # keep in telegram-bot-bash (default)
export BASHBOT_VAR "" # keep in telegram-bot-bash
@ -117,5 +117,5 @@ for every poll until the maximum of BASHBOT_SLEEP ms.
#### [Prev Notes for Developers](7_develop.md)
#### $$VERSION$$ v0.70-dev3-7-gd88d422
#### $$VERSION$$ v0.70-dev3-9-gd08d581