├── .gitignore ├── .jshintignore ├── .jshintrc ├── .travis.yml ├── LICENSE.md ├── README.md ├── index.d.ts ├── index.js ├── package.json └── tests ├── .jshintrc ├── fixtures ├── branch-with-slashes │ └── dot-git │ │ ├── HEAD │ │ └── refs │ │ └── heads │ │ ├── feature │ │ └── branch │ │ │ └── with │ │ │ └── slashes │ │ └── master ├── commit-packed │ └── dot-git │ │ ├── HEAD │ │ └── packed-refs ├── detached-head │ └── dot-git │ │ └── HEAD ├── linked-worktree │ ├── dot-git │ │ ├── HEAD │ │ └── worktrees │ │ │ └── linked │ │ │ ├── HEAD │ │ │ └── commondir │ └── linked │ │ └── dot-git ├── nested-repo │ ├── dot-git │ │ ├── .gitkeep │ │ ├── HEAD │ │ └── refs │ │ │ └── heads │ │ │ └── master │ └── foo │ │ └── bar │ │ └── .gitkeep ├── submodule │ ├── dot-git │ │ ├── HEAD │ │ └── modules │ │ │ └── my-submodule │ │ │ └── HEAD │ └── my-submodule │ │ └── dot-git ├── tag-on-parent-before-merge │ └── dot-git │ │ ├── HEAD │ │ ├── index │ │ ├── objects │ │ └── b6 │ │ │ └── 0d665ae0978a7b46e2447f4c13d7909997f56c │ │ └── refs │ │ ├── heads │ │ └── master │ │ └── tags │ │ └── magic-tag ├── tag-on-parent │ └── dot-git │ │ ├── HEAD │ │ ├── index │ │ ├── objects │ │ └── fb │ │ │ └── 26504da0ed5cd9ed366f7428c06a8433fd76e6 │ │ └── refs │ │ ├── heads │ │ └── master │ │ └── tags │ │ └── parent-magic-tag ├── tagged-annotated │ └── dot-git │ │ ├── COMMIT_EDITMSG │ │ ├── HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── prepare-commit-msg.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ └── heads │ │ │ └── master │ │ ├── objects │ │ ├── 54 │ │ │ └── 3b9bebdc6bd5c4b22136034a95dd097a57d3dd │ │ ├── c1 │ │ │ └── ee41c325d54f410b133e0018c7a6b1316f6cda │ │ ├── d3 │ │ │ └── 4ef562c5d670f49b5fdd85b633c469c71f0456 │ │ └── e6 │ │ │ └── 9de29bb2d1d6434b8b29ae775ad8c2e48c5391 │ │ └── refs │ │ ├── heads │ │ └── master │ │ └── tags │ │ └── awesome-tag ├── tagged-commit-mixed-packing │ └── dot-git │ │ ├── HEAD │ │ ├── objects │ │ ├── 37 │ │ │ └── ece7ad9ded5f2312bb6be8d0c21ecebca088ac │ │ ├── 90 │ │ │ └── 4de697a2c441e3db28f5c531ccfdab5f4435e3 │ │ ├── 95 │ │ │ └── 0a188f0a4224ce6a1ac710915113df972aeb2c │ │ └── e1 │ │ │ └── b209796f8918bf7ce1f00be1ea1923f5801339 │ │ ├── packed-refs │ │ └── refs │ │ ├── heads │ │ └── master │ │ └── tags │ │ ├── --lightweight-tag │ │ ├── 0-lightweight-tag │ │ └── e-annotated-tag ├── tagged-commit-packed-annotated │ └── dot-git │ │ ├── HEAD │ │ ├── packed-refs │ │ └── refs │ │ └── heads │ │ └── master ├── tagged-commit-packed │ └── dot-git │ │ ├── HEAD │ │ ├── packed-refs │ │ └── refs │ │ └── heads │ │ └── master ├── tagged-commit-unpacked-no-object │ └── dot-git │ │ ├── HEAD │ │ ├── objects │ │ ├── 54 │ │ │ └── 3b9bebdc6bd5c4b22136034a95dd097a57d3dd │ │ └── e6 │ │ │ └── 9de29bb2d1d6434b8b29ae775ad8c2e48c5391 │ │ └── refs │ │ ├── heads │ │ └── master │ │ └── tags │ │ └── awesome-tag └── tagged-commit-unpacked │ └── dot-git │ ├── COMMIT_EDITMSG │ ├── HEAD │ ├── config │ ├── description │ ├── hooks │ ├── applypatch-msg.sample │ ├── commit-msg.sample │ ├── post-update.sample │ ├── pre-applypatch.sample │ ├── pre-commit.sample │ ├── pre-push.sample │ ├── pre-rebase.sample │ ├── prepare-commit-msg.sample │ └── update.sample │ ├── index │ ├── info │ └── exclude │ ├── logs │ ├── HEAD │ └── refs │ │ └── heads │ │ └── master │ ├── objects │ ├── 54 │ │ └── 3b9bebdc6bd5c4b22136034a95dd097a57d3dd │ ├── c1 │ │ └── ee41c325d54f410b133e0018c7a6b1316f6cda │ └── e6 │ │ └── 9de29bb2d1d6434b8b29ae775ad8c2e48c5391 │ └── refs │ ├── heads │ └── master │ └── tags │ └── awesome-tag └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.jshintignore: -------------------------------------------------------------------------------- 1 | node_modules/* 2 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/.jshintrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/README.md -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/index.d.ts -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/package.json -------------------------------------------------------------------------------- /tests/.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/.jshintrc -------------------------------------------------------------------------------- /tests/fixtures/branch-with-slashes/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/feature/branch/with/slashes 2 | -------------------------------------------------------------------------------- /tests/fixtures/branch-with-slashes/dot-git/refs/heads/feature/branch/with/slashes: -------------------------------------------------------------------------------- 1 | 5359aabd3872d9ffd160712e9615c5592dfe6745 2 | -------------------------------------------------------------------------------- /tests/fixtures/branch-with-slashes/dot-git/refs/heads/master: -------------------------------------------------------------------------------- 1 | 5359aabd3872d9ffd160712e9615c5592dfe6745 2 | -------------------------------------------------------------------------------- /tests/fixtures/commit-packed/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/develop 2 | -------------------------------------------------------------------------------- /tests/fixtures/commit-packed/dot-git/packed-refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/commit-packed/dot-git/packed-refs -------------------------------------------------------------------------------- /tests/fixtures/detached-head/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | 9dac893d5a83c02344d91e79dad8904889aeacb1 2 | -------------------------------------------------------------------------------- /tests/fixtures/linked-worktree/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | 9dac893d5a83c02344d91e79dad8904889aeacb1 2 | -------------------------------------------------------------------------------- /tests/fixtures/linked-worktree/dot-git/worktrees/linked/HEAD: -------------------------------------------------------------------------------- 1 | 409372f3bd07c11bfacee3963f48571d675268d7 2 | -------------------------------------------------------------------------------- /tests/fixtures/linked-worktree/dot-git/worktrees/linked/commondir: -------------------------------------------------------------------------------- 1 | ../.. 2 | -------------------------------------------------------------------------------- /tests/fixtures/linked-worktree/linked/dot-git: -------------------------------------------------------------------------------- 1 | gitdir: ../dot-git/worktrees/linked 2 | -------------------------------------------------------------------------------- /tests/fixtures/nested-repo/dot-git/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/nested-repo/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/master 2 | -------------------------------------------------------------------------------- /tests/fixtures/nested-repo/dot-git/refs/heads/master: -------------------------------------------------------------------------------- 1 | 5359aabd3872d9ffd160712e9615c5592dfe6745 2 | -------------------------------------------------------------------------------- /tests/fixtures/nested-repo/foo/bar/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/submodule/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | 9dac893d5a83c02344d91e79dad8904889aeacb1 2 | -------------------------------------------------------------------------------- /tests/fixtures/submodule/dot-git/modules/my-submodule/HEAD: -------------------------------------------------------------------------------- 1 | 409372f3bd07c11bfacee3963f48571d675268d7 2 | -------------------------------------------------------------------------------- /tests/fixtures/submodule/my-submodule/dot-git: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/submodule/my-submodule/dot-git -------------------------------------------------------------------------------- /tests/fixtures/tag-on-parent-before-merge/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/master 2 | -------------------------------------------------------------------------------- /tests/fixtures/tag-on-parent-before-merge/dot-git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tag-on-parent-before-merge/dot-git/index -------------------------------------------------------------------------------- /tests/fixtures/tag-on-parent-before-merge/dot-git/objects/b6/0d665ae0978a7b46e2447f4c13d7909997f56c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tag-on-parent-before-merge/dot-git/objects/b6/0d665ae0978a7b46e2447f4c13d7909997f56c -------------------------------------------------------------------------------- /tests/fixtures/tag-on-parent-before-merge/dot-git/refs/heads/master: -------------------------------------------------------------------------------- 1 | b60d665ae0978a7b46e2447f4c13d7909997f56c 2 | -------------------------------------------------------------------------------- /tests/fixtures/tag-on-parent-before-merge/dot-git/refs/tags/magic-tag: -------------------------------------------------------------------------------- 1 | 4f5c726a1528fdfb1ec7c9537e4b1b2dbaacbcc4 2 | -------------------------------------------------------------------------------- /tests/fixtures/tag-on-parent/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/master 2 | -------------------------------------------------------------------------------- /tests/fixtures/tag-on-parent/dot-git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tag-on-parent/dot-git/index -------------------------------------------------------------------------------- /tests/fixtures/tag-on-parent/dot-git/objects/fb/26504da0ed5cd9ed366f7428c06a8433fd76e6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tag-on-parent/dot-git/objects/fb/26504da0ed5cd9ed366f7428c06a8433fd76e6 -------------------------------------------------------------------------------- /tests/fixtures/tag-on-parent/dot-git/refs/heads/master: -------------------------------------------------------------------------------- 1 | fb26504da0ed5cd9ed366f7428c06a8433fd76e6 2 | -------------------------------------------------------------------------------- /tests/fixtures/tag-on-parent/dot-git/refs/tags/parent-magic-tag: -------------------------------------------------------------------------------- 1 | e66f7ec2da3b5d06f0fe845c4fbc87247efacf62 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/COMMIT_EDITMSG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/COMMIT_EDITMSG -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/master 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/config -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/description: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/description -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/hooks/applypatch-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/hooks/applypatch-msg.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/hooks/commit-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/hooks/commit-msg.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/hooks/post-update.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/hooks/post-update.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/hooks/pre-applypatch.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/hooks/pre-applypatch.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/hooks/pre-commit.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/hooks/pre-commit.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/hooks/pre-push.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/hooks/pre-push.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/hooks/pre-rebase.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/hooks/pre-rebase.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/hooks/prepare-commit-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/hooks/prepare-commit-msg.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/hooks/update.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/hooks/update.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/index -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/info/exclude: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/info/exclude -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/logs/HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/logs/HEAD -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/logs/refs/heads/master: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/logs/refs/heads/master -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/objects/54/3b9bebdc6bd5c4b22136034a95dd097a57d3dd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/objects/54/3b9bebdc6bd5c4b22136034a95dd097a57d3dd -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/objects/c1/ee41c325d54f410b133e0018c7a6b1316f6cda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/objects/c1/ee41c325d54f410b133e0018c7a6b1316f6cda -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/objects/d3/4ef562c5d670f49b5fdd85b633c469c71f0456: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/objects/d3/4ef562c5d670f49b5fdd85b633c469c71f0456 -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-annotated/dot-git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/refs/heads/master: -------------------------------------------------------------------------------- 1 | c1ee41c325d54f410b133e0018c7a6b1316f6cda 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-annotated/dot-git/refs/tags/awesome-tag: -------------------------------------------------------------------------------- 1 | d34ef562c5d670f49b5fdd85b633c469c71f0456 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-mixed-packing/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/master 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-mixed-packing/dot-git/objects/37/ece7ad9ded5f2312bb6be8d0c21ecebca088ac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-mixed-packing/dot-git/objects/37/ece7ad9ded5f2312bb6be8d0c21ecebca088ac -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-mixed-packing/dot-git/objects/90/4de697a2c441e3db28f5c531ccfdab5f4435e3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-mixed-packing/dot-git/objects/90/4de697a2c441e3db28f5c531ccfdab5f4435e3 -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-mixed-packing/dot-git/objects/95/0a188f0a4224ce6a1ac710915113df972aeb2c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-mixed-packing/dot-git/objects/95/0a188f0a4224ce6a1ac710915113df972aeb2c -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-mixed-packing/dot-git/objects/e1/b209796f8918bf7ce1f00be1ea1923f5801339: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-mixed-packing/dot-git/objects/e1/b209796f8918bf7ce1f00be1ea1923f5801339 -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-mixed-packing/dot-git/packed-refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-mixed-packing/dot-git/packed-refs -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-mixed-packing/dot-git/refs/heads/master: -------------------------------------------------------------------------------- 1 | 37ece7ad9ded5f2312bb6be8d0c21ecebca088ac 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-mixed-packing/dot-git/refs/tags/--lightweight-tag: -------------------------------------------------------------------------------- 1 | c1ee41c325d54f410b133e0018c7a6b1316f6cda -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-mixed-packing/dot-git/refs/tags/0-lightweight-tag: -------------------------------------------------------------------------------- 1 | 37ece7ad9ded5f2312bb6be8d0c21ecebca088ac 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-mixed-packing/dot-git/refs/tags/e-annotated-tag: -------------------------------------------------------------------------------- 1 | 904de697a2c441e3db28f5c531ccfdab5f4435e3 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-packed-annotated/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/master 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-packed-annotated/dot-git/packed-refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-packed-annotated/dot-git/packed-refs -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-packed-annotated/dot-git/refs/heads/master: -------------------------------------------------------------------------------- 1 | 5359aabd3872d9ffd160712e9615c5592dfe6745 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-packed/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/master 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-packed/dot-git/packed-refs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-packed/dot-git/packed-refs -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-packed/dot-git/refs/heads/master: -------------------------------------------------------------------------------- 1 | 5359aabd3872d9ffd160712e9615c5592dfe6745 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked-no-object/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/master 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked-no-object/dot-git/objects/54/3b9bebdc6bd5c4b22136034a95dd097a57d3dd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked-no-object/dot-git/objects/54/3b9bebdc6bd5c4b22136034a95dd097a57d3dd -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked-no-object/dot-git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked-no-object/dot-git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked-no-object/dot-git/refs/heads/master: -------------------------------------------------------------------------------- 1 | c1ee41c325d54f410b133e0018c7a6b1316f6cda 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked-no-object/dot-git/refs/tags/awesome-tag: -------------------------------------------------------------------------------- 1 | c1ee41c325d54f410b133e0018c7a6b1316f6cda 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/COMMIT_EDITMSG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/COMMIT_EDITMSG -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/master 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/config -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/description: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/description -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/hooks/applypatch-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/hooks/applypatch-msg.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/hooks/commit-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/hooks/commit-msg.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/hooks/post-update.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/hooks/post-update.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/hooks/pre-applypatch.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/hooks/pre-applypatch.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/hooks/pre-commit.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/hooks/pre-commit.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/hooks/pre-push.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/hooks/pre-push.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/hooks/pre-rebase.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/hooks/pre-rebase.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/hooks/prepare-commit-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/hooks/prepare-commit-msg.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/hooks/update.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/hooks/update.sample -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/index -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/info/exclude: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/info/exclude -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/logs/HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/logs/HEAD -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/logs/refs/heads/master: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/logs/refs/heads/master -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/objects/54/3b9bebdc6bd5c4b22136034a95dd097a57d3dd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/objects/54/3b9bebdc6bd5c4b22136034a95dd097a57d3dd -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/objects/c1/ee41c325d54f410b133e0018c7a6b1316f6cda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/objects/c1/ee41c325d54f410b133e0018c7a6b1316f6cda -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/fixtures/tagged-commit-unpacked/dot-git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/refs/heads/master: -------------------------------------------------------------------------------- 1 | c1ee41c325d54f410b133e0018c7a6b1316f6cda 2 | -------------------------------------------------------------------------------- /tests/fixtures/tagged-commit-unpacked/dot-git/refs/tags/awesome-tag: -------------------------------------------------------------------------------- 1 | c1ee41c325d54f410b133e0018c7a6b1316f6cda 2 | -------------------------------------------------------------------------------- /tests/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rwjblue/git-repo-info/HEAD/tests/index.js --------------------------------------------------------------------------------