Prechádzať zdrojové kódy

adapt com script to pre-commit usage

Noah Vogt 13 hodín pred
rodič
commit
194936df89
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      local-bin/com

+ 1 - 2
local-bin/com

@@ -2,5 +2,4 @@
 
 gitmessage="$(echo $(showgitmessage))"
 
-[ -n "$gitmessage" ] && git commit -m "$gitmessage"
-rmgitmessage
+[ -n "$gitmessage" ] && git commit -m "$gitmessage" && rmgitmessage