Skip to content
Myr

Fix make deps to see the right git dir

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent bb26f32 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:src/deps+1 added
5 unmodified lines
6fi78reset() (9 cd "$GOPATH/src/$1"10 export GIT_DIR="$(pwd)/.git"11 [ "$(git rev-parse HEAD)" = "$2" ] ||12 (git fetch && git reset --hard "$2")13)14
4 unmodified lines