Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Implement packed-file reading in git-fs-db.

Open
#38 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
git, javascript
Domain
backend, tooling

Research direction

Start at git-fs-db's read method and compare its handling of loose objects in .git/objects with the reported ENOENT for packed objects. Reproduce the issue using an older object stored in a packed file; done means read can resolve packed objects as well as unpacked ones.

Written by the indexing model from the issue text.

Description

Task

trying out the read method, I find I can read a new object entry that exists as an unpacked object in the .git/objects directory.

but I get an ENOENT on an object hash that does not exist in the .git/objects directory if I try to read an older file that I am pretty sure is sitting in a packed object file.

just wondering if that's on the todo list - if so I'll just drop my experiments for now until it's supported - or maybe you need some help there I could try to support it?


Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Dominant language
JavaScript
Stars
3.8k
Forks
262
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from creationix/js-git

All issues in creationix/js-git

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.