]> gitweb.fluxo.info Git - scripts.git/commitdiff
Removes uneeded 'done' script
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 14 May 2017 17:02:52 +0000 (14:02 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 14 May 2017 17:02:52 +0000 (14:02 -0300)
done [deleted file]

diff --git a/done b/done
deleted file mode 100755 (executable)
index 6e95bbd..0000000
--- a/done
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-#
-# Submit updates to a project.
-#
-
-# Parameters
-PROJECT="$1"
-
-# Try to get there
-if [ ! -z "$PROJECT" ]; then
-  cd $PROJECT &> /dev/null || exit 1
-fi
-
-# Sync
-if git status &> /dev/null; then
-  if which updates > /dev/null; then
-    updates
-  else
-    git commit -a -m "Updates $PROJECT"
-    git push
-  fi
-
-  git fetch --all
-fi