GitLab system status is available here and here

Commit 233d865a authored by Anthony Umemoto's avatar Anthony Umemoto
Browse files

v1.0.1

parent f802a173
......@@ -76,7 +76,15 @@ Prints to stdout:
`<reps> commit(s) completed over <total time> minute(s).`
## ERRORS
## PROBLEMS
### ERRORS
### UNEXPECTED BEHAVIORS
+ The total time count printed in the output is not correct if any program input options are used.
### ARCHITECTURE
+ gitmang currently lacks sufficient error handling.
+ All variables are prepended with `gm_` to prevent overriding other global variables, but this is still possible since most of the script is not contained within a function.
......
......@@ -214,17 +214,15 @@ while (( $gm_reps > 0 )); do
# test if gm_dir is a valid path
if [[ $gm_tmpdir == $(pwd) ]]; then
echo "Failed to move into $gm_arg, remaining in $gm_dir."
break
else
# test if gm_dir is a valid repo
if [[ $(git config --get remote.origin.url) == "" ]]; then
echo "$gm_arg is not a repository, remaining in $gm_dir."
else
gm_dir=$gm_arg
echo "Switched directory to $gm_arg."
fi
fi
# test if gm_dir is a valid repo
if [[ $(git config --get remote.origin.url) == "" ]]; then
echo "$gm_arg is not a repository, remaining in $gm_dir."
break
fi
gm_dir=$gm_arg
echo "Switched directory to $gm_arg."
fi;;
f)
if (( $gm_arg > 0 )); then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment