rogpeppe / gohack

Make temporary edits to your Go module dependencies
BSD 3-Clause "New" or "Revised" License
897 stars 23 forks source link

Ran gohack get github.com/user/somerepo and it is missing the .git directory #46

Open chmorgan opened 5 years ago

chmorgan commented 5 years ago

Hello.

Thought gohack was a great idea but my gohack'ed directory is missing .git. This makes it quite a bit less useful for hacking on things as I'd have to manually transfer the changes back to a version controlled directory.

Am I missing something in terms of usage? go 1.12.1 here, macOS.

chmorgan commented 5 years ago

Looks like a -vcs option was introduced but not mentioned in the README, submitted, https://github.com/rogpeppe/gohack/pull/47