[PATCH 1/4] Add wireguard-go as submodule
Greg KH
greg at kroah.com
Tue Nov 7 10:34:46 CET 2017
On Tue, Nov 07, 2017 at 03:38:12PM +1100, Aurélien Chabot wrote:
> Signed-off-by: Aurélien Chabot <aurelien at chabot.fr>
> ---
> .gitmodules | 3 +++
> wireguard-go | 1 +
> 2 files changed, 4 insertions(+)
> create mode 100644 .gitmodules
> create mode 160000 wireguard-go
>
> diff --git a/.gitmodules b/.gitmodules
> new file mode 100644
> index 0000000..c7957ea
> --- /dev/null
> +++ b/.gitmodules
> @@ -0,0 +1,3 @@
> +[submodule "wireguard-go"]
> + path = wireguard-go
> + url = git at github.com:trishika/wireguard-go.git
Ugh, submodules are a pain in git, do you really want to do it this way?
If so, why? I thought there was a "replacement" for submodules that was
recommended to use instead.
And I mention this because I have a submodule in a project I maintain,
and I _always_ mess it up when I go to update it, and have to go read
the documentation for how to do it properly.
thanks,
greg k-h
More information about the WireGuard
mailing list