diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2017-01-23 12:10:43 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-01-23 12:10:43 +0900 |
commit | e1291aa6d2c49e563cf40b0bce2e34d30931cbb3 (patch) | |
tree | 981667990e1632e34020d4041cb17140477cca0a /src | |
parent | bb26f32ac7353e8fe0e9624326beda082faa5374 (diff) |
Fix make deps to see the right git dir
Diffstat (limited to 'src')
-rwxr-xr-x | src/deps | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -7,6 +7,7 @@ fi reset() ( cd "$GOPATH/src/$1" + export GIT_DIR="$(pwd)/.git" [ "$(git rev-parse HEAD)" = "$2" ] || (git fetch && git reset --hard "$2") ) |