aboutsummaryrefslogtreecommitdiff
path: root/repo/git/kiss-add
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-07-25 11:20:55 +0300
committerCem Keylan <cem@ckyln.com>2020-07-25 11:20:55 +0300
commit47a3723632b82a0d3caf79dbe8ada1eae60dd976 (patch)
tree2c41b08502e35378af35fcda7622d3eaab776420 /repo/git/kiss-add
parenta80ec35b458ad1616758aff8257d42b3b51ed17e (diff)
downloadcpt-extra-47a3723632b82a0d3caf79dbe8ada1eae60dd976.tar.gz
rename to cpt-extra
Diffstat (limited to 'repo/git/kiss-add')
-rwxr-xr-xrepo/git/kiss-add20
1 files changed, 0 insertions, 20 deletions
diff --git a/repo/git/kiss-add b/repo/git/kiss-add
deleted file mode 100755
index b707555..0000000
--- a/repo/git/kiss-add
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh -e
-# Commit the current directory as a new package
-
-case "$1" in
- '') set -- . ;;
- --help|-h) printf '%s\n' "usage: ${0##*/}"; exit 0; esac
-
-for pkg; do (
-
- cd "$pkg"
- read -r ver _ < version || {
- printf '%s\n' "could not find version file, are you on a package directory?"
- exit 1
- }
-
- # Unstage all changes and stage the current directory
- git reset; git add .
- git commit -m "${PWD##*/}: add new package at $ver"
-
-) done