瀏覽代碼

Improve git-slurp message

Alois Mahdal 9 年之前
父節點
當前提交
eac13e4b8d
共有 1 個檔案被更改,包括 10 行新增1 行删除
  1. 10
    1
      dotfiles/gittum/bin/slurp

+ 10
- 1
dotfiles/gittum/bin/slurp 查看文件

9
     exit 2
9
     exit 2
10
 }
10
 }
11
 
11
 
12
+mkmsg() {
13
+    #
14
+    # Create the slurp message
15
+    #
16
+    local host=$(hostname)
17
+    local date=$(date -Isec)
18
+    echo "WIP slurp, $date at $host"
19
+}
20
+
12
 git add .
21
 git add .
13
-git commit -m "WIP slurp $(date -Isec)"
22
+git commit -m "$(mkmsg)"
14
 git push
23
 git push