10000 GitHub · Where software is built
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
stores objects twice, wasting disk space #62
Open
@infinity0

Description

@infinity0

git-hg stores the same objects under both .git/objects and .git/hgremote/objects, wasting space by 2x. A workaround is to share objects:

$ du -sh
2.1G	.
$ echo ../hgremote/objects/ >> .git/objects/info/alternates
$ git repack -a -d -l
$ git gc --prune=all
$ du -sh
1.1G	.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0