git-dedup 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,27 +8,21 @@
8
8
  [![Documentation](https://img.shields.io/badge/docs-git--dedup-blue)](https://git-dedup.ben3d.ca/)
9
9
  [![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/5J5Ur3F6Z2)
10
10
 
11
- **Many coding agents, one copy of Git history.**
11
+ **Faster checkouts, a fraction of the disk space.**
12
12
 
13
- Coding agents and editors clone the same repositories again and again: one checkout per task, per agent, per review. Each clone normally carries its own full copy of the history. git-dedup is a Git wrapper whose clones, forks, and worktree submodules share one local object pool, so every new checkout reuses the history already on disk.
14
-
15
- In one typical local setup spanning 117 checkouts (94 distinct Git object databases, with linked worktrees counted once), git-dedup uses 11.1 GB for Git objects versus an estimated 35.5 GB without sharing, saving about 24.4 GB (69%).
13
+ git-dedup is a drop-in replacement for `git clone` built for fleets of coding agents. It automatically keeps one shared copy of Git history, so every new clone, worktree, and submodule reuses what is already on disk instead of downloading it again. Large checkouts are 6x faster, and Git data takes 70% less disk.
16
14
 
17
15
  ```sh
18
- # Populate the shared object pool in ~/.git-dedup.
19
- git-dedup clone https://github.com/you/project.git project
16
+ npm install --global git-dedup
20
17
 
21
- # Another checkout borrows objects from the same pool.
22
- git-dedup clone https://github.com/you/project.git project-review
23
- cd project-review
18
+ # check out a new repo automatically using the dedup store
19
+ git-dedup clone https://github.com/you/project.git
24
20
 
25
- # All normal Git commands work in the checkout.
26
- git status
27
- git diff
28
- git log --oneline
21
+ # dedup an existing repo into the store
22
+ git-dedup store add ./my-existing-repo
29
23
  ```
30
24
 
31
- Repeated clones can borrow objects already in the pool, reducing download and storage work.
25
+ That's it. git-dedup automatically consolidates the new or existing project's history into a shared store in `~/.git-dedup` or if its history already existed there, it reuses it automatically.
32
26
 
33
27
  **[Documentation](https://git-dedup.ben3d.ca/) · [Source](https://github.com/bhouston/git-dedup) · [Agent setup](https://git-dedup.ben3d.ca/docs/agents)**
34
28
 
package/dist/context.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import type { GitDedupOptions } from 'git-dedup-core';
2
2
  export declare const dedup: (options?: GitDedupOptions) => {
3
3
  run: (args: string[]) => Promise<number>;
4
- add: (path?: string) => Promise<import("git-dedup-core").StoreAddResult>;
4
+ add: (path?: string, quiet?: boolean) => Promise<import("git-dedup-core").StoreAddResult>;
5
5
  remove: (path?: string) => Promise<import("git-dedup-core").StoreRemoveResult>;
6
6
  storeInfo: () => Promise<import("git-dedup-core").StoreInfo>;
7
7
  listRemotes: () => Promise<import("git-dedup-core").StoreRemote[]>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "git-dedup",
3
- "version": "2.0.0",
4
- "description": "Many coding agents, one copy of Git history: a Git wrapper whose clones share one local object pool",
3
+ "version": "2.0.1",
4
+ "description": "Faster checkouts, a fraction of the disk space: share one copy of Git history across clones, worktrees, and submodules",
5
5
  "keywords": [
6
6
  "cli",
7
7
  "clone",
@@ -49,7 +49,7 @@
49
49
  "humanize-units": "^2.0.4",
50
50
  "yargs": "^18.0.0",
51
51
  "yargs-file-commands": "^2.1.0",
52
- "git-dedup-core": "2.0.0"
52
+ "git-dedup-core": "2.0.1"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^24.0.0",