summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Burke <kevin@burke.dev>2022-03-31 12:11:27 -0700
committerChristian Muehlhaeuser <muesli@gmail.com>2022-04-01 02:02:49 +0200
commitb5845058020311014f7b340055cd7904bf6a8e55 (patch)
treeafed65bd829df3c82f8a8559ec6bba96b967373c
parent9586fded42491a529761f6d92aa9ea6d17fb45ea (diff)
go.mod: update ssh_config dependency to 1.2
Previously if you tried to read a HostName in a config file that looked like this: ``` Host github HostName github.com # This is the host for code review ``` DefaultUserSettings.Get("HostName") would return "github.com ", which I think is unintuitive and unexpected. This behavior is fixed in v1.2 which would return "github.com" in the above example.
-rw-r--r--go.mod2
-rw-r--r--go.sum4
2 files changed, 3 insertions, 3 deletions
diff --git a/go.mod b/go.mod
index d277845..4a13fc4 100644
--- a/go.mod
+++ b/go.mod
@@ -7,7 +7,7 @@ require (
github.com/charmbracelet/lipgloss v0.5.0
github.com/dustin/go-humanize v1.0.0
github.com/go-git/go-git/v5 v5.4.3-0.20220119145113-935af59cf64f
- github.com/kevinburke/ssh_config v1.1.0
+ github.com/kevinburke/ssh_config v1.2.0
github.com/muesli/gamut v0.3.0
github.com/muesli/reflow v0.3.0
github.com/muesli/termenv v0.11.1-0.20220204035834-5ac8409525e0
diff --git a/go.sum b/go.sum
index e2f9376..03e55b4 100644
--- a/go.sum
+++ b/go.sum
@@ -152,8 +152,8 @@ github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
-github.com/kevinburke/ssh_config v1.1.0 h1:pH/t1WS9NzT8go394IqZeJTMHVm6Cr6ZJ6AQ+mdNo/o=
-github.com/kevinburke/ssh_config v1.1.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
+github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4=
+github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=