summaryrefslogtreecommitdiffstats
path: root/main.sh
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2017-09-06 03:41:32 -0400
committerMalf Furious <m@lfurio.us>2017-09-06 03:41:32 -0400
commit8907b67e1fb043da87696ce7662e6a12922f80eb (patch)
tree659312225c43cd3e07c02dab3ef4b84c57e7d965 /main.sh
parent6a47d2874328c4ec70dc36a572c31d20b3aab0b3 (diff)
downloadsystrunk-8907b67e1fb043da87696ce7662e6a12922f80eb.tar.gz
systrunk-8907b67e1fb043da87696ce7662e6a12922f80eb.zip
Export merge operations from main()
Diffstat (limited to 'main.sh')
-rw-r--r--main.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/main.sh b/main.sh
index 0c3d3df..9bf4df1 100644
--- a/main.sh
+++ b/main.sh
@@ -49,6 +49,14 @@ function main
systr_short_log "$@"
elif [[ "$cmd" == "log" ]]; then
systr_log "$@"
+ elif [[ "$cmd" == "merge" ]]; then
+ systr_merge "$@"
+ elif [[ "$cmd" == "update" ]]; then
+ systr_merge "TRAC" "$@"
+ elif [[ "$cmd" == "apply-merge" ]]; then
+ systr_merge_finish "$MERG" "$@"
+ elif [[ "$cmd" == "abort-merge" ]]; then
+ systr_merge_abort "$@"
else
echo "Fatal: $cmd not recognized" >&2
exit 1