We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c75e1e3 commit 3cbd905Copy full SHA for 3cbd905
1 file changed
bin/cppsm
@@ -17,6 +17,8 @@ fi
17
18
BRANCH="$(git -C "$CPPSM" symbolic-ref --short HEAD)"
19
20
+git -C "$CPPSM" fetch --quiet
21
+
22
ORIGIN="$(git -C "$CPPSM" log --pretty=oneline --abbrev-commit "..origin/$BRANCH" | sed 's#^# #g')"
23
if [ -n "$ORIGIN" ]; then
24
ORIGIN="$(cat << EOF
@@ -33,8 +35,6 @@ EOF
33
35
)"
34
36
fi
37
-git -C "$CPPSM" fetch --quiet
-
38
# shellcheck disable=SC2035
39
COMMANDS="$(cd "$CPPSM/commands" && echo *)"
40
COMMANDS="${COMMANDS// /|}"
0 commit comments