Skip to content

Commit f1592d1

Browse files
committed
Implemented initial gitpanel with Ctrl+G
1 parent bab10d2 commit f1592d1

12 files changed

Lines changed: 9618 additions & 9 deletions

File tree

go.mod

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,44 @@ require (
1111
)
1212

1313
require (
14+
dario.cat/mergo v1.0.0 // indirect
15+
github.com/Microsoft/go-winio v0.6.2 // indirect
16+
github.com/ProtonMail/go-crypto v1.1.6 // indirect
1417
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
15-
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
16-
github.com/charmbracelet/x/ansi v0.10.1 // indirect
17-
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect
18-
github.com/charmbracelet/x/term v0.2.1 // indirect
18+
github.com/charmbracelet/bubbles v1.0.0 // indirect
19+
github.com/charmbracelet/colorprofile v0.4.1 // indirect
20+
github.com/charmbracelet/x/ansi v0.11.6 // indirect
21+
github.com/charmbracelet/x/cellbuf v0.0.15 // indirect
22+
github.com/charmbracelet/x/term v0.2.2 // indirect
23+
github.com/clipperhouse/displaywidth v0.9.0 // indirect
24+
github.com/clipperhouse/stringish v0.1.1 // indirect
25+
github.com/clipperhouse/uax29/v2 v2.5.0 // indirect
26+
github.com/cloudflare/circl v1.6.1 // indirect
27+
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
28+
github.com/emirpasic/gods v1.18.1 // indirect
1929
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
20-
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
30+
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
31+
github.com/go-git/go-billy/v5 v5.8.0 // indirect
32+
github.com/go-git/go-git/v5 v5.17.0 // indirect
33+
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
34+
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
35+
github.com/kevinburke/ssh_config v1.2.0 // indirect
36+
github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
2137
github.com/mattn/go-isatty v0.0.20 // indirect
2238
github.com/mattn/go-localereader v0.0.1 // indirect
23-
github.com/mattn/go-runewidth v0.0.16 // indirect
39+
github.com/mattn/go-runewidth v0.0.19 // indirect
2440
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
2541
github.com/muesli/cancelreader v0.2.2 // indirect
2642
github.com/muesli/termenv v0.16.0 // indirect
43+
github.com/pjbgf/sha1cd v0.3.2 // indirect
2744
github.com/rivo/uniseg v0.4.7 // indirect
45+
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
46+
github.com/skeema/knownhosts v1.3.1 // indirect
47+
github.com/xanzy/ssh-agent v0.3.3 // indirect
2848
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
29-
golang.org/x/sys v0.36.0 // indirect
30-
golang.org/x/text v0.8.0 // indirect
49+
golang.org/x/crypto v0.45.0 // indirect
50+
golang.org/x/net v0.47.0 // indirect
51+
golang.org/x/sys v0.38.0 // indirect
52+
golang.org/x/text v0.31.0 // indirect
53+
gopkg.in/warnings.v0 v0.1.2 // indirect
3154
)

go.sum

Lines changed: 73 additions & 0 deletions
Large diffs are not rendered by default.

internal/git/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Git Integration Package
2+
3+
This package provides Git functionality for the Terminal Intelligence IDE using the go-git library.
4+
5+
## Components
6+
7+
- `client.go` - GitClient for Git operations (clone, pull, push, fetch, stage, status, restore)
8+
- `credentials.go` - CredentialStore for secure credential management
9+
- Additional components will be added as implementation progresses
10+
11+
## Dependencies
12+
13+
- github.com/go-git/go-git/v5 - Pure Go Git implementation
14+
- github.com/leanovate/gopter - Property-based testing library
15+
16+
## Testing
17+
18+
Tests are organized in the following directories:
19+
- `tests/unit/git/` - Unit tests for individual components
20+
- `tests/property/git/` - Property-based tests for correctness properties
21+
- `tests/integration/git/` - Integration tests for end-to-end workflows

0 commit comments

Comments
 (0)