Skip to content
This repository was archived by the owner on Nov 23, 2025. It is now read-only.

Commit 4ceda36

Browse files
author
David May
committed
Add back v2 and keeping looking for solutions :/
1 parent 055e5d2 commit 4ceda36

File tree

9 files changed

+56
-51
lines changed

9 files changed

+56
-51
lines changed

.vscode/launch.json

Lines changed: 42 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,43 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
6-
"configurations": [
7-
{
8-
"name": "gitspaces create",
9-
"type": "go",
10-
"request": "launch",
11-
"mode": "auto",
12-
"program": "${workspaceFolder}",
13-
"cwd": "/Users/davidmay/code/davfive/testarea",
14-
"args": ["create", "https://github.com/davfive/gitspaces2.git", "-n", "3"],
15-
"console": "integratedTerminal"
16-
},
17-
{
18-
"name": "gitspaces switch",
19-
"type": "go",
20-
"request": "launch",
21-
"mode": "auto",
22-
"program": "${workspaceFolder}",
23-
"cwd": "/Users/davidmay/code/davfive",
24-
"args": ["switch"],
25-
"console": "integratedTerminal"
26-
},
27-
{
28-
"name": "gitspaces <empty>",
29-
"type": "go",
30-
"request": "launch",
31-
"mode": "auto",
32-
"program": "${workspaceFolder}",
33-
"cwd": "/Users/davidmay/code/davfive/testarea",
34-
"args": [],
35-
"console": "integratedTerminal"
36-
}
37-
]
38-
}
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "gitspaces create",
9+
"type": "go",
10+
"request": "launch",
11+
"mode": "auto",
12+
"program": "${workspaceFolder}",
13+
"cwd": "/Users/davidmay/code/davfive/testarea",
14+
"args": [
15+
"create",
16+
"https://github.com/davfive/gitspaces/v22.git",
17+
"-n",
18+
"3"
19+
],
20+
"console": "integratedTerminal"
21+
},
22+
{
23+
"name": "gitspaces switch",
24+
"type": "go",
25+
"request": "launch",
26+
"mode": "auto",
27+
"program": "${workspaceFolder}",
28+
"cwd": "/Users/davidmay/code/davfive",
29+
"args": ["switch"],
30+
"console": "integratedTerminal"
31+
},
32+
{
33+
"name": "gitspaces <empty>",
34+
"type": "go",
35+
"request": "launch",
36+
"mode": "auto",
37+
"program": "${workspaceFolder}",
38+
"cwd": "/Users/davidmay/code/davfive/testarea",
39+
"args": [],
40+
"console": "integratedTerminal"
41+
}
42+
]
43+
}

cmd/code.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package cmd
22

33
import (
4-
"github.com/davfive/gitspaces/internal/console"
5-
"github.com/davfive/gitspaces/internal/gitspaces"
4+
"github.com/davfive/gitspaces/v2/internal/console"
5+
"github.com/davfive/gitspaces/v2/internal/gitspaces"
66

77
"github.com/spf13/cobra"
88
)

cmd/create.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package cmd
33
import (
44
"fmt"
55

6-
"github.com/davfive/gitspaces/internal/console"
7-
"github.com/davfive/gitspaces/internal/gitspaces"
8-
"github.com/davfive/gitspaces/internal/helper"
6+
"github.com/davfive/gitspaces/v2/internal/console"
7+
"github.com/davfive/gitspaces/v2/internal/gitspaces"
8+
"github.com/davfive/gitspaces/v2/internal/helper"
99

1010
"github.com/spf13/cobra"
1111
)

cmd/rename.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Copyright © 2024 NAME HERE <EMAIL ADDRESS>
44
package cmd
55

66
import (
7-
"github.com/davfive/gitspaces/internal/console"
8-
"github.com/davfive/gitspaces/internal/gitspaces"
7+
"github.com/davfive/gitspaces/v2/internal/console"
8+
"github.com/davfive/gitspaces/v2/internal/gitspaces"
99

1010
"github.com/spf13/cobra"
1111
)

cmd/root.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ package cmd
66
import (
77
"os"
88

9-
"github.com/davfive/gitspaces/internal/gitspaces"
10-
"github.com/davfive/gitspaces/internal/helper"
9+
"github.com/davfive/gitspaces/v2/internal/gitspaces"
10+
"github.com/davfive/gitspaces/v2/internal/helper"
1111

1212
"github.com/spf13/cobra"
1313
)

cmd/sleep.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Copyright © 2024 NAME HERE <EMAIL ADDRESS>
44
package cmd
55

66
import (
7-
"github.com/davfive/gitspaces/internal/console"
8-
"github.com/davfive/gitspaces/internal/gitspaces"
7+
"github.com/davfive/gitspaces/v2/internal/console"
8+
"github.com/davfive/gitspaces/v2/internal/gitspaces"
99

1010
"github.com/spf13/cobra"
1111
)

cmd/switch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Copyright © 2024 NAME HERE <EMAIL ADDRESS>
44
package cmd
55

66
import (
7-
"github.com/davfive/gitspaces/internal/gitspaces"
7+
"github.com/davfive/gitspaces/v2/internal/gitspaces"
88

99
"github.com/spf13/cobra"
1010
)

gitspaces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package main
22

3-
import "github.com/davfive/gitspaces/cmd"
3+
import "github.com/davfive/gitspaces/v2/cmd"
44

55
func main() {
66
cmd.Execute()

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/davfive/gitspaces
1+
module github.com/davfive/gitspaces/v2
22

33
go 1.22.0
44

0 commit comments

Comments
 (0)