Skip to content

Commit

Permalink
fix(git): detect 128
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed Mar 18, 2022
1 parent 7010359 commit 7819e27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gitapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ else
GIT_PARAMETERS=$PARAMETERS
exec_hook "pre" "$PARAMETERS"
if [[ -d .git || "${PARAMETERS}" == *"init"* || "${PARAMETERS}" == *"clone"* ]]; then
eval "$GIT $GIT_PARAMETERS"
else
# Detect if git is there
$(git rev-parse 2> /dev/null)

Expand Down

0 comments on commit 7819e27

Please sign in to comment.