mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 22:55:10 +01:00
Fixed lousy coding style :)
This commit is contained in:
@@ -3,14 +3,14 @@ if [ -n "$1" ]; then
|
||||
|
||||
FIRSTFILE=$1
|
||||
#echo $!
|
||||
GITDIR=$(dirname ${FIRSTFILE})
|
||||
GITDIR=$(dirname "${FIRSTFILE}")
|
||||
#echo $GITDIR
|
||||
cd $GITDIR
|
||||
DATETIME=`date +%Y%m%d\ %H:%M:%S`
|
||||
cd "$GITDIR" || exit
|
||||
DATETIME=$(date +%Y%m%d\ %H:%M:%S)
|
||||
#echo $DATETIME
|
||||
#git pull
|
||||
RESULT=`git commit $* -m "Autosave at $DATETIME"`
|
||||
echo $RESULT
|
||||
RESULT=$(git commit "$*" -m "Autosave at $DATETIME")
|
||||
echo "$RESULT"
|
||||
#zenity --info --text=$RESULT
|
||||
#echo $?
|
||||
#echo "git commit $* -m 'Autosave at $DATETIME'"
|
||||
|
||||
Reference in New Issue
Block a user