Skip to content

Commit f711d65

Browse files
committed
Update README.md; Sort architecture lists in CLAUDE.md and CONTRIBUTING.md
- Document inline icon fallback to normal diff for non-git-crypt files - Sort src/ file listings alphabetically
1 parent f9ac74e commit f711d65

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ npm run package # Create .vsix package
1717

1818
```
1919
src/
20-
extension.ts # Activation, FileDecorationProvider, wiring
21-
git.ts # execFile wrappers for git and git-crypt commands
22-
detector.ts # GitCryptDetector: cached Set<string> of git-crypt files per repo
2320
content-provider.ts # resolveContent(): decodes git-crypt: URI -> decrypted text
21+
detector.ts # GitCryptDetector: cached Set<string> of git-crypt files per repo
2422
diff.ts # showDiff(), registerDiffCommand(): opens vscode.diff editor
23+
extension.ts # Activation, FileDecorationProvider, wiring
24+
git.ts # execFile wrappers for git and git-crypt commands
2525
uri-util.ts # encode/decode git-crypt://<hash>/<ref>/<path>?<repoRoot> URIs
2626
test/
2727
fixture.ts # Creates temporary git-crypt repo for tests

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ npm test
4646

4747
```
4848
src/
49-
extension.ts # Activation, wiring, file decoration provider
50-
git.ts # Low-level git/git-crypt command helpers (execFile, no shell)
51-
detector.ts # Cached set of git-crypt files per repository
5249
content-provider.ts # Resolves git-crypt: URIs to decrypted content
50+
detector.ts # Cached set of git-crypt files per repository
5351
diff.ts # Diff command (opens vscode.diff editor)
52+
extension.ts # Activation, wiring, file decoration provider
53+
git.ts # Low-level git/git-crypt command helpers (execFile, no shell)
5454
uri-util.ts # Encode/decode git-crypt: URI scheme
5555
```
5656

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Git-crypt files are decorated with a lock badge so you can identify them at a gl
2323

2424
Three ways to view a git-crypt diff:
2525

26-
1. **Inline icon** -- hover over a git-crypt file in the Source Control Changes list and click the diff icon
26+
1. **Inline icon** -- hover over any file in the Source Control Changes list and click the diff icon (opens a decrypted diff for git-crypt files, or a normal diff otherwise)
2727
2. **Right-click** -- right-click a file in the Source Control panel and select "Git Crypt: Show Diff"
2828
3. **Command Palette** -- open a git-crypt file, then run `Git Crypt: Show Diff` from the palette
2929

0 commit comments

Comments
 (0)