aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-18 20:01:49 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-18 20:01:49 +0100
commita5df53745c89cba0f7f89fe1cff4da434693500e (patch)
tree172d20a8f9504186a3cff42e73ef3baadfb4b647 /wiki
parentSat, 18 Dec 2021 20:01:25 +0100 (diff)
parenttis 14 dec 2021 18:07:31 CET (diff)
downloadwiki-public-a5df53745c89cba0f7f89fe1cff4da434693500e.tar.gz
wiki-public-a5df53745c89cba0f7f89fe1cff4da434693500e.tar.xz
Merge branch 'master' of git.hornquist.se:git/wiki-public
Diffstat (limited to '')
-rwxr-xr-xwiki6
1 files changed, 3 insertions, 3 deletions
diff --git a/wiki b/wiki
index 26f91ef..9ce12f7 100755
--- a/wiki
+++ b/wiki
@@ -15,9 +15,9 @@ wiki_list=""
#
function commit {
if [ $# -lt 2 ]; then
- msg="$(date --rfc-email)"
+ msg="$(date)"
else
- msg="$@"
+ msg="$*"
fi
git add -A
git commit -m "$msg"
@@ -30,7 +30,7 @@ function ammend {
if [ $# -eq 1 ]; then
git commit --amend
else
- msg="$@"
+ msg="$*"
git commit --amend -m "$msg"
fi
}