aboutsummaryrefslogtreecommitdiff
path: root/zsync
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-11-29 10:22:27 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-11-29 10:22:27 -0200
commit6d854c6d738b77ce3e26914e6fb8eddab236dcea (patch)
tree552e63b05376a1338e145c326c220be421f2097f /zsync
parentb9e8338307a279ec648c6acc269ba5abc5d28c7e (diff)
downloadscripts-6d854c6d738b77ce3e26914e6fb8eddab236dcea.tar.gz
scripts-6d854c6d738b77ce3e26914e6fb8eddab236dcea.tar.bz2
Moves zsync to ztd with some improvements, adds status
Diffstat (limited to 'zsync')
-rwxr-xr-xzsync24
1 files changed, 0 insertions, 24 deletions
diff --git a/zsync b/zsync
deleted file mode 100755
index 501db02..0000000
--- a/zsync
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-#
-# ZTD extension to commit, push and fetch a project.
-#
-
-# Parameters
-PROJECT="$1"
-
-# Try to get there
-if [ ! -z "$PROJECT" ]; then
- cd $PROJECT
-fi
-
-# Sync
-if [ -d '.git' ]; then
- if which updates > /dev/null; then
- updates
- else
- git commit -a -m "Updates $PROJECT"
- git push
- fi
-
- git fetch --all
-fi