{"id":22870322,"url":"https://github.com/berquerant/inter-git-diff","last_synced_at":"2026-04-26T20:31:29.976Z","repository":{"id":81890028,"uuid":"589067954","full_name":"berquerant/inter-git-diff","owner":"berquerant","description":"Compares files between repos","archived":false,"fork":false,"pushed_at":"2026-01-31T08:26:51.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-31T21:36:23.368Z","etag":null,"topics":["bash"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/berquerant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-15T00:04:09.000Z","updated_at":"2026-01-31T08:26:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e56667a-4e82-41a1-90f2-6c6604148a36","html_url":"https://github.com/berquerant/inter-git-diff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/berquerant/inter-git-diff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Finter-git-diff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Finter-git-diff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Finter-git-diff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Finter-git-diff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berquerant","download_url":"https://codeload.github.com/berquerant/inter-git-diff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Finter-git-diff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32312195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T19:15:34.056Z","status":"ssl_error","status_checked_at":"2026-04-26T19:15:15.467Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash"],"created_at":"2024-12-13T13:14:32.210Z","updated_at":"2026-04-26T20:31:29.950Z","avatar_url":"https://github.com/berquerant.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inter-git-diff.sh\n\n```\ninter-git-diff.sh compares files between repos.\n\nUsage:\n\ninter-git-diff.sh LEFT_REPO RIGHT_REPO\n\nLEFT_REPO is the path to comparison source repo.\nRIGHT_REPO is the path to comparson destination repo.\n\nEnvironment variables:\n\n  IGD_DIFF_DETAIL:\n    If 1, display the details of the diff.\n\n  IGD_REPLACE:\n    If 1, apply patches to RIGHT_REPO.\n    Patches are for:\n    - a file that exists in LEFT_REPO but not in RIGHT_REPO\n    - a file that exists in LEFT_REPO and RIGHT_REPO but has some diff\n\nExit status is 0 if inputs are the same.\n```\n\n# Example\n\nleft repo:\n```\nleft\n├── README.md\n├── a.txt\n├── aa.txt\n└── d\n    ├── b.txt\n    ├── c.txt\n    └── e.txt\n```\n\nright repo:\n```\nright\n├── README.md\n├── a.txt\n└── d\n    ├── b.txt\n    ├── c.txt\n    └── d.txt\n```\n\nthen\n\n``` sh\n❯ ./inter-git-diff.sh /path/to/left /path/to/right\nDiff /path/to/left/a.txt /path/to/right/a.txt\ndiff: /path/to/right/aa.txt: No such file or directory\nNot exist /path/to/right/aa.txt\nDiff /path/to/left/d/b.txt /path/to/right/d/b.txt\ndiff: /path/to/left/d/d.txt: No such file or directory\nNot exist /path/to/left/d/d.txt\ndiff: /path/to/right/d/e.txt: No such file or directory\nNot exist /path/to/right/d/e.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberquerant%2Finter-git-diff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberquerant%2Finter-git-diff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberquerant%2Finter-git-diff/lists"}