aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-08-15 23:47:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-08-15 23:47:07 -0300
commit0c0a79810d760e3e6b9b31f98eb8f39f784f5bdf (patch)
tree5006b819fd1500cec96af159dfbab35e38a82eb8
parentf32255f0defcf96b53620f1740c96386873bb093 (diff)
downloadinception-master.tar.gz
inception-master.tar.bz2
Adds pull actionHEADmaster
-rwxr-xr-xinfection2
1 files changed, 2 insertions, 0 deletions
diff --git a/infection b/infection
index f8795b3..97e4ff5 100755
--- a/infection
+++ b/infection
@@ -218,6 +218,8 @@ elif [ "$ACTION" == "fetch" ]; then
infection_fetch
elif [ "$ACTION" == "merge" ]; then
infection_merge
+elif [ "$ACTION" == "pull" ]; then
+ infection fetch && infection_merge
elif [ "$ACTION" == "status" ]; then
infection_status
elif [ "$ACTION" != "init" ]; then