├── .codespellrc ├── .fdignore ├── .github ├── CODEOWNERS └── workflows │ ├── codespell.yml │ ├── golangci_lint.yml │ └── test_release.yml ├── .gitignore ├── .golangci.yml ├── .goreleaser.yaml ├── .releaserc ├── .rgignore ├── CHANGELOG.md ├── LICENSE ├── Makefile ├── README.md ├── go.mod ├── go.sum ├── integration ├── git_prompt_string_test.go ├── init_test.go ├── init_unix.go └── init_windows.go ├── main.go ├── pkg ├── color │ └── color.go ├── config │ └── config.go ├── git │ ├── git.go │ └── repo.go └── util │ ├── util.go │ ├── util_unix.go │ └── util_windows.go ├── scripts ├── git-prompt-string-demo.sh └── release_publish.sh ├── testdata ├── am │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── ORIG_HEAD │ │ ├── REBASE_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a6 │ │ │ └── 0a2fae6d9604439a447c5f618bbaf4d4fb9c83 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── b6 │ │ │ └── 9e688b26a7ca0498b0cbd8b3e6e189d987b661 │ │ ├── c8 │ │ │ └── 2520f3011ecbaee5ee1eddc882bd7af6b4d14f │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ ├── rebase-apply │ │ ├── amend │ │ ├── applying │ │ ├── author-script │ │ ├── done │ │ ├── git-rebase-todo │ │ ├── git-rebase-todo.backup │ │ ├── head-name │ │ ├── last │ │ ├── message │ │ ├── next │ │ ├── no-reschedule-failed-exec │ │ ├── onto │ │ ├── orig-head │ │ ├── patch │ │ └── stopped-sha │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── am_rebase │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── ORIG_HEAD │ │ ├── REBASE_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a6 │ │ │ └── 0a2fae6d9604439a447c5f618bbaf4d4fb9c83 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── b6 │ │ │ └── 9e688b26a7ca0498b0cbd8b3e6e189d987b661 │ │ ├── c8 │ │ │ └── 2520f3011ecbaee5ee1eddc882bd7af6b4d14f │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ ├── rebase-apply │ │ ├── amend │ │ ├── author-script │ │ ├── done │ │ ├── git-rebase-todo │ │ ├── git-rebase-todo.backup │ │ ├── head-name │ │ ├── last │ │ ├── message │ │ ├── next │ │ ├── no-reschedule-failed-exec │ │ ├── onto │ │ ├── orig-head │ │ ├── patch │ │ └── stopped-sha │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── bare │ ├── HEAD │ ├── config │ ├── description │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ ├── info │ │ └── exclude │ ├── objects │ │ └── .gitignore │ └── refs │ │ └── heads │ │ └── .gitignore ├── bisect │ ├── README.md │ └── dot_git │ │ ├── BISECT_LOG │ │ ├── BISECT_NAMES │ │ ├── BISECT_START │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── ORIG_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── 92 │ │ │ └── 92d0f6c53027cf9ea31c44b6df4478b769bf8a │ │ ├── 0c │ │ │ └── 1e5510ac379303b948e7d58c9f665062bc9114 │ │ ├── 0e │ │ │ └── f5caa6cda22f1c054f3c8aae9eadd53b5f2382 │ │ ├── 8b │ │ │ └── d10196bff523aa457e79f5fc2ad0bce66c6fd9 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── cherry_pick │ ├── README.md │ ├── README.md.orig │ └── dot_git │ │ ├── AUTO_MERGE │ │ ├── CHERRY_PICK_HEAD │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── MERGE_MSG │ │ ├── ORIG_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 23 │ │ │ └── 735b21e7e220571d62a992e115193df8de8a10 │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── 92 │ │ │ └── 92d0f6c53027cf9ea31c44b6df4478b769bf8a │ │ ├── 95 │ │ │ └── 291eb538433c7230764422c8bd99314f2d4cc4 │ │ ├── 0c │ │ │ └── 1e5510ac379303b948e7d58c9f665062bc9114 │ │ ├── 0e │ │ │ └── f5caa6cda22f1c054f3c8aae9eadd53b5f2382 │ │ ├── 6b │ │ │ └── f03f59303f35e03ab1e6b36597584111125836 │ │ ├── 8b │ │ │ └── d10196bff523aa457e79f5fc2ad0bce66c6fd9 │ │ ├── 8e │ │ │ └── 5a7a5c2dcead1332481c26510db09ddcd4dd15 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── b6 │ │ │ └── 9f92ac38136bb8fd140ef5ecb609dcc098b2ea │ │ ├── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── eb │ │ │ └── 8a2dccf8ade83749741313e531864cabc7120b │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── cherry_pick_conflict │ ├── README.md │ └── dot_git │ │ ├── AUTO_MERGE │ │ ├── CHERRY_PICK_HEAD │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── MERGE_MSG │ │ ├── ORIG_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 23 │ │ │ └── 735b21e7e220571d62a992e115193df8de8a10 │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── 92 │ │ │ └── 92d0f6c53027cf9ea31c44b6df4478b769bf8a │ │ ├── 95 │ │ │ └── 291eb538433c7230764422c8bd99314f2d4cc4 │ │ ├── 0c │ │ │ └── 1e5510ac379303b948e7d58c9f665062bc9114 │ │ ├── 0e │ │ │ └── f5caa6cda22f1c054f3c8aae9eadd53b5f2382 │ │ ├── 6b │ │ │ └── f03f59303f35e03ab1e6b36597584111125836 │ │ ├── 8b │ │ │ └── d10196bff523aa457e79f5fc2ad0bce66c6fd9 │ │ ├── 8e │ │ │ └── 5a7a5c2dcead1332481c26510db09ddcd4dd15 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── b6 │ │ │ └── 9f92ac38136bb8fd140ef5ecb609dcc098b2ea │ │ ├── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── eb │ │ │ └── 8a2dccf8ade83749741313e531864cabc7120b │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── clean │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── commit │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── ORIG_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── 92 │ │ │ └── 92d0f6c53027cf9ea31c44b6df4478b769bf8a │ │ ├── 0c │ │ │ └── 1e5510ac379303b948e7d58c9f665062bc9114 │ │ ├── 0e │ │ │ └── f5caa6cda22f1c054f3c8aae9eadd53b5f2382 │ │ ├── 8b │ │ │ └── d10196bff523aa457e79f5fc2ad0bce66c6fd9 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── configs │ ├── color_overrides.toml │ └── invalid_syntax.toml ├── conflict_ahead │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a6 │ │ │ └── 0a2fae6d9604439a447c5f618bbaf4d4fb9c83 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── b6 │ │ │ └── 9e688b26a7ca0498b0cbd8b3e6e189d987b661 │ │ ├── c8 │ │ │ └── 2520f3011ecbaee5ee1eddc882bd7af6b4d14f │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── conflict_behind │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── ORIG_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── 92 │ │ │ └── 92d0f6c53027cf9ea31c44b6df4478b769bf8a │ │ ├── 0c │ │ │ └── 1e5510ac379303b948e7d58c9f665062bc9114 │ │ ├── 0e │ │ │ └── f5caa6cda22f1c054f3c8aae9eadd53b5f2382 │ │ ├── 8b │ │ │ └── d10196bff523aa457e79f5fc2ad0bce66c6fd9 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── conflict_diverged │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── ORIG_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── 92 │ │ │ └── 92d0f6c53027cf9ea31c44b6df4478b769bf8a │ │ ├── 0c │ │ │ └── 1e5510ac379303b948e7d58c9f665062bc9114 │ │ ├── 0e │ │ │ └── f5caa6cda22f1c054f3c8aae9eadd53b5f2382 │ │ ├── 5c │ │ │ └── 13a5b8d07eb0227fb82a598f56d956a452442d │ │ ├── 8b │ │ │ └── d10196bff523aa457e79f5fc2ad0bce66c6fd9 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── ac │ │ │ └── 2180ee7624501134ba79245f7359d52c966277 │ │ ├── ba │ │ │ └── d1c77fc7b325ce66b3b5fa8b4ac393d50c98c5 │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── dirty │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── dirty_staged │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a6 │ │ │ └── 0a2fae6d9604439a447c5f618bbaf4d4fb9c83 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── c8 │ │ │ └── 2520f3011ecbaee5ee1eddc882bd7af6b4d14f │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── git_dir │ ├── HEAD │ ├── config │ ├── description │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ ├── info │ │ └── exclude │ ├── objects │ │ └── .gitignore │ └── refs │ │ └── .gitignore ├── merge │ ├── README.md │ ├── README.md.orig │ └── dot_git │ │ ├── AUTO_MERGE │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── MERGE_HEAD │ │ ├── MERGE_MODE │ │ ├── MERGE_MSG │ │ ├── ORIG_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── 69 │ │ │ └── 6f0a7f819a5fced9d69e589c846e9f386ff736 │ │ ├── 92 │ │ │ └── 92d0f6c53027cf9ea31c44b6df4478b769bf8a │ │ ├── 0c │ │ │ └── 1e5510ac379303b948e7d58c9f665062bc9114 │ │ ├── 0e │ │ │ └── f5caa6cda22f1c054f3c8aae9eadd53b5f2382 │ │ ├── 7a │ │ │ └── 6c4f4b24df0c3b8a74035a82348ce36e201c95 │ │ ├── 8b │ │ │ └── d10196bff523aa457e79f5fc2ad0bce66c6fd9 │ │ ├── a6 │ │ │ └── 0a43074e8f653d9ea19c927e9e2b9deb7c568b │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── d0 │ │ │ └── d22e3014c68c360bf5d55b851e070e95e58fb5 │ │ ├── d2 │ │ │ └── aa524f49ef823b2a734c894c08e53f465bd491 │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── merge_conflict │ ├── README.md │ └── dot_git │ │ ├── AUTO_MERGE │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── MERGE_HEAD │ │ ├── MERGE_MODE │ │ ├── MERGE_MSG │ │ ├── ORIG_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── 69 │ │ │ └── 6f0a7f819a5fced9d69e589c846e9f386ff736 │ │ ├── 92 │ │ │ └── 92d0f6c53027cf9ea31c44b6df4478b769bf8a │ │ ├── 0c │ │ │ └── 1e5510ac379303b948e7d58c9f665062bc9114 │ │ ├── 0e │ │ │ └── f5caa6cda22f1c054f3c8aae9eadd53b5f2382 │ │ ├── 7a │ │ │ └── 6c4f4b24df0c3b8a74035a82348ce36e201c95 │ │ ├── 8b │ │ │ └── d10196bff523aa457e79f5fc2ad0bce66c6fd9 │ │ ├── a6 │ │ │ └── 0a43074e8f653d9ea19c927e9e2b9deb7c568b │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── d0 │ │ │ └── d22e3014c68c360bf5d55b851e070e95e58fb5 │ │ ├── d2 │ │ │ └── aa524f49ef823b2a734c894c08e53f465bd491 │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── no_upstream │ └── dot_git │ │ ├── HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── info │ │ └── exclude │ │ ├── objects │ │ └── .gitignore │ │ └── refs │ │ └── .gitignore ├── no_upstream_remote │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── norepo │ └── README.md ├── rebase │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── ORIG_HEAD │ │ ├── REBASE_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a6 │ │ │ └── 0a2fae6d9604439a447c5f618bbaf4d4fb9c83 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── b6 │ │ │ └── 9e688b26a7ca0498b0cbd8b3e6e189d987b661 │ │ ├── c8 │ │ │ └── 2520f3011ecbaee5ee1eddc882bd7af6b4d14f │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ ├── rebase-apply │ │ ├── amend │ │ ├── author-script │ │ ├── done │ │ ├── git-rebase-todo │ │ ├── git-rebase-todo.backup │ │ ├── head-name │ │ ├── last │ │ ├── message │ │ ├── next │ │ ├── no-reschedule-failed-exec │ │ ├── onto │ │ ├── orig-head │ │ ├── patch │ │ ├── rebasing │ │ └── stopped-sha │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── rebase_i │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── ORIG_HEAD │ │ ├── REBASE_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a6 │ │ │ └── 0a2fae6d9604439a447c5f618bbaf4d4fb9c83 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── b6 │ │ │ └── 9e688b26a7ca0498b0cbd8b3e6e189d987b661 │ │ ├── c8 │ │ │ └── 2520f3011ecbaee5ee1eddc882bd7af6b4d14f │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ ├── rebase-merge │ │ ├── amend │ │ ├── author-script │ │ ├── done │ │ ├── end │ │ ├── git-rebase-todo │ │ ├── git-rebase-todo.backup │ │ ├── head-name │ │ ├── interactive │ │ ├── message │ │ ├── msgnum │ │ ├── no-reschedule-failed-exec │ │ ├── onto │ │ ├── orig-head │ │ ├── patch │ │ └── stopped-sha │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── rebase_i_no_steps │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── ORIG_HEAD │ │ ├── REBASE_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a6 │ │ │ └── 0a2fae6d9604439a447c5f618bbaf4d4fb9c83 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── b6 │ │ │ └── 9e688b26a7ca0498b0cbd8b3e6e189d987b661 │ │ ├── c8 │ │ │ └── 2520f3011ecbaee5ee1eddc882bd7af6b4d14f │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ ├── rebase-merge │ │ ├── amend │ │ ├── author-script │ │ ├── done │ │ ├── git-rebase-todo │ │ ├── git-rebase-todo.backup │ │ ├── head-name │ │ ├── interactive │ │ ├── message │ │ ├── no-reschedule-failed-exec │ │ ├── onto │ │ ├── orig-head │ │ ├── patch │ │ └── stopped-sha │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── rebase_m │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── ORIG_HEAD │ │ ├── REBASE_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a6 │ │ │ └── 0a2fae6d9604439a447c5f618bbaf4d4fb9c83 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── b6 │ │ │ └── 9e688b26a7ca0498b0cbd8b3e6e189d987b661 │ │ ├── c8 │ │ │ └── 2520f3011ecbaee5ee1eddc882bd7af6b4d14f │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ ├── rebase-merge │ │ ├── amend │ │ ├── author-script │ │ ├── done │ │ ├── end │ │ ├── git-rebase-todo │ │ ├── git-rebase-todo.backup │ │ ├── head-name │ │ ├── message │ │ ├── msgnum │ │ ├── no-reschedule-failed-exec │ │ ├── onto │ │ ├── orig-head │ │ ├── patch │ │ └── stopped-sha │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── rebase_no_steps │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── ORIG_HEAD │ │ ├── REBASE_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a6 │ │ │ └── 0a2fae6d9604439a447c5f618bbaf4d4fb9c83 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── b6 │ │ │ └── 9e688b26a7ca0498b0cbd8b3e6e189d987b661 │ │ ├── c8 │ │ │ └── 2520f3011ecbaee5ee1eddc882bd7af6b4d14f │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ ├── rebase-apply │ │ ├── amend │ │ ├── author-script │ │ ├── done │ │ ├── git-rebase-todo │ │ ├── git-rebase-todo.backup │ │ ├── head-name │ │ ├── message │ │ ├── no-reschedule-failed-exec │ │ ├── onto │ │ ├── orig-head │ │ ├── patch │ │ ├── rebasing │ │ └── stopped-sha │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── revert │ └── dot_git │ │ ├── AUTO_MERGE │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── MERGE_MSG │ │ ├── ORIG_HEAD │ │ ├── REVERT_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 23 │ │ │ └── 735b21e7e220571d62a992e115193df8de8a10 │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── 92 │ │ │ └── 92d0f6c53027cf9ea31c44b6df4478b769bf8a │ │ ├── 95 │ │ │ └── 291eb538433c7230764422c8bd99314f2d4cc4 │ │ ├── 0c │ │ │ └── 1e5510ac379303b948e7d58c9f665062bc9114 │ │ ├── 0e │ │ │ └── f5caa6cda22f1c054f3c8aae9eadd53b5f2382 │ │ ├── 6b │ │ │ └── f03f59303f35e03ab1e6b36597584111125836 │ │ ├── 8b │ │ │ └── d10196bff523aa457e79f5fc2ad0bce66c6fd9 │ │ ├── 8e │ │ │ └── 5a7a5c2dcead1332481c26510db09ddcd4dd15 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── b6 │ │ │ └── 9f92ac38136bb8fd140ef5ecb609dcc098b2ea │ │ ├── c9 │ │ │ └── 686eed271e4ef732bd90a4df20aa386950374f │ │ ├── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── eb │ │ │ └── 8a2dccf8ade83749741313e531864cabc7120b │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── revert_conflict │ ├── README.md │ └── dot_git │ │ ├── AUTO_MERGE │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── MERGE_MSG │ │ ├── ORIG_HEAD │ │ ├── REVERT_HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 23 │ │ │ └── 735b21e7e220571d62a992e115193df8de8a10 │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── 92 │ │ │ └── 92d0f6c53027cf9ea31c44b6df4478b769bf8a │ │ ├── 95 │ │ │ └── 291eb538433c7230764422c8bd99314f2d4cc4 │ │ ├── 0c │ │ │ └── 1e5510ac379303b948e7d58c9f665062bc9114 │ │ ├── 0e │ │ │ └── f5caa6cda22f1c054f3c8aae9eadd53b5f2382 │ │ ├── 6b │ │ │ └── f03f59303f35e03ab1e6b36597584111125836 │ │ ├── 8b │ │ │ └── d10196bff523aa457e79f5fc2ad0bce66c6fd9 │ │ ├── 8e │ │ │ └── 5a7a5c2dcead1332481c26510db09ddcd4dd15 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── b6 │ │ │ └── 9f92ac38136bb8fd140ef5ecb609dcc098b2ea │ │ ├── c9 │ │ │ └── 686eed271e4ef732bd90a4df20aa386950374f │ │ ├── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── eb │ │ │ └── 8a2dccf8ade83749741313e531864cabc7120b │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── sparse │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── config │ │ ├── config.worktree │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ ├── exclude │ │ └── sparse-checkout │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── sparse_merge_conflict │ ├── README.md │ └── dot_git │ │ ├── AUTO_MERGE │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── MERGE_HEAD │ │ ├── MERGE_MODE │ │ ├── MERGE_MSG │ │ ├── ORIG_HEAD │ │ ├── config │ │ ├── config.worktree │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ ├── exclude │ │ └── sparse-checkout │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── 77 │ │ │ └── 8c80813dfb926696c7a56d04e737de4dbe30ec │ │ ├── 92 │ │ │ └── 92d0f6c53027cf9ea31c44b6df4478b769bf8a │ │ ├── 0c │ │ │ └── 1e5510ac379303b948e7d58c9f665062bc9114 │ │ ├── 0e │ │ │ └── f5caa6cda22f1c054f3c8aae9eadd53b5f2382 │ │ ├── 3e │ │ │ └── 55652aceac9bae7d18752caf8f51407a7eb4c8 │ │ ├── 9f │ │ │ └── 30e166d6463f6379d218115d83077b1b683cd7 │ │ ├── a4 │ │ │ └── 7f709ff81214871ff0d950f12c15fea748ba65 │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ ├── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── df │ │ │ └── 0c0ef011a1d8aeedbfde6446b0388cf21770c3 │ │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main ├── tag │ ├── README.md │ └── dot_git │ │ ├── COMMIT_EDITMSG │ │ ├── FETCH_HEAD │ │ ├── HEAD │ │ ├── config │ │ ├── description │ │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ │ ├── index │ │ ├── info │ │ └── exclude │ │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ │ └── refs │ │ ├── heads │ │ └── main │ │ ├── remotes │ │ └── origin │ │ │ └── main │ │ └── tags │ │ ├── v1.0.0 │ │ ├── v1.1.0 │ │ └── v1.2.0 └── untracked │ ├── README.md │ ├── dot_git │ ├── COMMIT_EDITMSG │ ├── FETCH_HEAD │ ├── HEAD │ ├── config │ ├── description │ ├── hooks │ │ ├── applypatch-msg.sample │ │ ├── commit-msg.sample │ │ ├── fsmonitor-watchman.sample │ │ ├── post-update.sample │ │ ├── pre-applypatch.sample │ │ ├── pre-commit.sample │ │ ├── pre-merge-commit.sample │ │ ├── pre-push.sample │ │ ├── pre-rebase.sample │ │ ├── pre-receive.sample │ │ ├── prepare-commit-msg.sample │ │ ├── push-to-checkout.sample │ │ ├── sendemail-validate.sample │ │ └── update.sample │ ├── index │ ├── info │ │ └── exclude │ ├── logs │ │ ├── HEAD │ │ └── refs │ │ │ ├── heads │ │ │ └── main │ │ │ └── remotes │ │ │ └── origin │ │ │ └── main │ ├── objects │ │ ├── 24 │ │ │ └── afc9585ad36ab4a5bcfce5fe08131e72904a5e │ │ ├── a8 │ │ │ └── cdb9100441b47e4afc480f32bdc28777511316 │ │ └── d6 │ │ │ └── 9c9ff23f98b1bd528a3b78e11da79a2f038d1f │ └── refs │ │ ├── heads │ │ └── main │ │ └── remotes │ │ └── origin │ │ └── main │ └── untracked.txt └── vendor ├── github.com ├── buildkite │ └── shellwords │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── batch.go │ │ ├── parser.go │ │ ├── posix.go │ │ ├── quote.go │ │ └── split.go └── pelletier │ └── go-toml │ └── v2 │ ├── .dockerignore │ ├── .gitattributes │ ├── .gitignore │ ├── .golangci.toml │ ├── .goreleaser.yaml │ ├── CONTRIBUTING.md │ ├── Dockerfile │ ├── LICENSE │ ├── README.md │ ├── SECURITY.md │ ├── ci.sh │ ├── decode.go │ ├── doc.go │ ├── errors.go │ ├── internal │ ├── characters │ │ ├── ascii.go │ │ └── utf8.go │ ├── danger │ │ ├── danger.go │ │ └── typeid.go │ └── tracker │ │ ├── key.go │ │ ├── seen.go │ │ └── tracker.go │ ├── localtime.go │ ├── marshaler.go │ ├── strict.go │ ├── toml.abnf │ ├── types.go │ ├── unmarshaler.go │ └── unstable │ ├── ast.go │ ├── builder.go │ ├── doc.go │ ├── kind.go │ ├── parser.go │ └── scanner.go └── modules.txt /.codespellrc: -------------------------------------------------------------------------------- 1 | [codespell] 2 | skip = vendor,testdata,node_modules,dist 3 | ignore-regex = .*cspell:disable-line.* 4 | 5 | # vim: filetype=toml 6 | 7 | -------------------------------------------------------------------------------- /.fdignore: -------------------------------------------------------------------------------- 1 | testdata 2 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @mikesmithgh 2 | -------------------------------------------------------------------------------- /.github/workflows/codespell.yml: -------------------------------------------------------------------------------- 1 | name: codespell 2 | on: 3 | push: 4 | branches: 5 | - 'main' 6 | pull_request: 7 | branches: 8 | - 'main' 9 | workflow_dispatch: 10 | jobs: 11 | codespell: 12 | runs-on: ubuntu-22.04 13 | 14 | steps: 15 | - uses: actions/checkout@v3 16 | - uses: codespell-project/actions-codespell@v2 17 | 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | tmp/ 3 | dist/ 4 | node_modules/ 5 | package-lock.json 6 | package.json 7 | git-prompt-string 8 | git-prompt-string.exe 9 | -------------------------------------------------------------------------------- /.rgignore: -------------------------------------------------------------------------------- 1 | testdata 2 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: help 2 | help: 3 | @echo "==> describe make commands" 4 | @echo "" 5 | @echo "build ==> build binary for current GOOS and GOARCH" 6 | @echo "test ==> run tests" 7 | 8 | .PHONY: build 9 | build: 10 | @goreleaser build --single-target --clean --snapshot 11 | 12 | .PHONY: test 13 | test: 14 | @go clean --testcache && go test -v ./... 15 | 16 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mikesmithgh/git-prompt-string 2 | 3 | go 1.22.0 4 | 5 | require ( 6 | github.com/pelletier/go-toml/v2 v2.1.1 7 | github.com/buildkite/shellwords v0.0.0-20180315110454-59467a9b8e10 8 | ) 9 | 10 | retract v1.0.0 // published accidentally, may contain legacy bgps v1.0.0 tag 11 | -------------------------------------------------------------------------------- /pkg/util/util_unix.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | 3 | package util 4 | 5 | import "path" 6 | 7 | var XDGConfigPath string = path.Join(".config") 8 | -------------------------------------------------------------------------------- /pkg/util/util_windows.go: -------------------------------------------------------------------------------- 1 | package util 2 | 3 | import "path" 4 | 5 | var ( 6 | XDGConfigPath string = path.Join("AppData", "Local") 7 | ) 8 | -------------------------------------------------------------------------------- /scripts/release_publish.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euxo pipefail 3 | 4 | release_notes="$1" 5 | printf "%s" "$release_notes" >/tmp/release-notes.md 6 | goreleaser release --clean --release-notes /tmp/release-notes.md 7 | -------------------------------------------------------------------------------- /testdata/am/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Modified line 4 | -------------------------------------------------------------------------------- /testdata/am/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/am/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/REBASE_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/am/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/am/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am/dot_git/index -------------------------------------------------------------------------------- /testdata/am/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/am/dot_git/logs/refs/heads/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e b69e688b26a7ca0498b0cbd8b3e6e189d987b661 Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249375 -0400 commit: chore: ahead 3 | -------------------------------------------------------------------------------- /testdata/am/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/am/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83 -------------------------------------------------------------------------------- /testdata/am/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/am/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661 -------------------------------------------------------------------------------- /testdata/am/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f -------------------------------------------------------------------------------- /testdata/am/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/amend: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/applying: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am/dot_git/rebase-apply/applying -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/author-script: -------------------------------------------------------------------------------- 1 | GIT_AUTHOR_NAME='Mike Smith' 2 | GIT_AUTHOR_EMAIL='10135646+mikesmithgh@users.noreply.github.com' 3 | GIT_AUTHOR_DATE='@1710249375 -0400' 4 | -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/done: -------------------------------------------------------------------------------- 1 | edit b69e688b26a7ca0498b0cbd8b3e6e189d987b661 chore: ahead 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/git-rebase-todo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am/dot_git/rebase-apply/git-rebase-todo -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/head-name: -------------------------------------------------------------------------------- 1 | refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/last: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/message: -------------------------------------------------------------------------------- 1 | chore: ahead 2 | 3 | -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/next: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/no-reschedule-failed-exec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am/dot_git/rebase-apply/no-reschedule-failed-exec -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/onto: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/orig-head: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/patch: -------------------------------------------------------------------------------- 1 | diff --git a/README.md b/README.md 2 | index a8cdb91..a60a2fa 100644 3 | --- a/README.md 4 | +++ b/README.md 5 | @@ -1 +1,3 @@ 6 | # Test Repo 7 | + 8 | +Modified line 9 | -------------------------------------------------------------------------------- /testdata/am/dot_git/rebase-apply/stopped-sha: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Modified line 4 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am_rebase/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/REBASE_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am_rebase/dot_git/index -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am_rebase/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am_rebase/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83 -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am_rebase/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am_rebase/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661 -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am_rebase/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am_rebase/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/amend: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/author-script: -------------------------------------------------------------------------------- 1 | GIT_AUTHOR_NAME='Mike Smith' 2 | GIT_AUTHOR_EMAIL='10135646+mikesmithgh@users.noreply.github.com' 3 | GIT_AUTHOR_DATE='@1710249375 -0400' 4 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/done: -------------------------------------------------------------------------------- 1 | edit b69e688b26a7ca0498b0cbd8b3e6e189d987b661 chore: ahead 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/git-rebase-todo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am_rebase/dot_git/rebase-apply/git-rebase-todo -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/head-name: -------------------------------------------------------------------------------- 1 | refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/last: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/message: -------------------------------------------------------------------------------- 1 | chore: ahead 2 | 3 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/next: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/no-reschedule-failed-exec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/am_rebase/dot_git/rebase-apply/no-reschedule-failed-exec -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/onto: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/orig-head: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/patch: -------------------------------------------------------------------------------- 1 | diff --git a/README.md b/README.md 2 | index a8cdb91..a60a2fa 100644 3 | --- a/README.md 4 | +++ b/README.md 5 | @@ -1 +1,3 @@ 6 | # Test Repo 7 | + 8 | +Modified line 9 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/rebase-apply/stopped-sha: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/am_rebase/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/bare/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/bare/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = true 5 | ignorecase = true 6 | precomposeunicode = true 7 | -------------------------------------------------------------------------------- /testdata/bare/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/bare/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/bare/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/bare/objects/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /testdata/bare/refs/heads/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /testdata/bisect/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | -------------------------------------------------------------------------------- /testdata/bisect/dot_git/BISECT_LOG: -------------------------------------------------------------------------------- 1 | git bisect start 2 | # status: waiting for both good and bad commits 3 | -------------------------------------------------------------------------------- /testdata/bisect/dot_git/BISECT_NAMES: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /testdata/bisect/dot_git/BISECT_START: -------------------------------------------------------------------------------- 1 | main 2 | -------------------------------------------------------------------------------- /testdata/bisect/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/bisect/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/bisect/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/bisect/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/bisect/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/bisect/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/bisect/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/bisect/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/bisect/dot_git/index -------------------------------------------------------------------------------- /testdata/bisect/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/bisect/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 0c1e5510ac379303b948e7d58c9f665062bc9114 Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249557 -0400 update by push 3 | -------------------------------------------------------------------------------- /testdata/bisect/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/bisect/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114 -------------------------------------------------------------------------------- /testdata/bisect/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/bisect/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382 -------------------------------------------------------------------------------- /testdata/bisect/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/bisect/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/bisect/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/bisect/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9 -------------------------------------------------------------------------------- /testdata/bisect/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/bisect/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a -------------------------------------------------------------------------------- /testdata/bisect/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/bisect/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/bisect/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/bisect/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/bisect/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/bisect/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Repo is for testing. 4 | -------------------------------------------------------------------------------- /testdata/cherry_pick/README.md.orig: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | <<<<<<< HEAD 3 | 4 | Conflict 5 | ||||||| parent of 0c1e551 (chore: add test commit 1) 6 | ======= 7 | 8 | Repo is for testing. 9 | >>>>>>> 0c1e551 (chore: add test commit 1) 10 | -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/AUTO_MERGE: -------------------------------------------------------------------------------- 1 | eb8a2dccf8ade83749741313e531864cabc7120b 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/CHERRY_PICK_HEAD: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/MERGE_MSG: -------------------------------------------------------------------------------- 1 | chore: add test commit 1 2 | 3 | # Conflicts: 4 | # README.md 5 | -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | b69f92ac38136bb8fd140ef5ecb609dcc098b2ea 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/index -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 0c1e5510ac379303b948e7d58c9f665062bc9114 Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249557 -0400 update by push 3 | -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114 -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382 -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/23/735b21e7e220571d62a992e115193df8de8a10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/23/735b21e7e220571d62a992e115193df8de8a10 -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/6b/f03f59303f35e03ab1e6b36597584111125836: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/6b/f03f59303f35e03ab1e6b36597584111125836 -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9 -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/8e/5a7a5c2dcead1332481c26510db09ddcd4dd15: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/8e/5a7a5c2dcead1332481c26510db09ddcd4dd15 -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/95/291eb538433c7230764422c8bd99314f2d4cc4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/95/291eb538433c7230764422c8bd99314f2d4cc4 -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/b6/9f92ac38136bb8fd140ef5ecb609dcc098b2ea: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/b6/9f92ac38136bb8fd140ef5ecb609dcc098b2ea -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/objects/eb/8a2dccf8ade83749741313e531864cabc7120b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick/dot_git/objects/eb/8a2dccf8ade83749741313e531864cabc7120b -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 23735b21e7e220571d62a992e115193df8de8a10 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | <<<<<<< HEAD 3 | 4 | Conflict 5 | ||||||| parent of 0c1e551 (chore: add test commit 1) 6 | ======= 7 | 8 | Repo is for testing. 9 | >>>>>>> 0c1e551 (chore: add test commit 1) 10 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/AUTO_MERGE: -------------------------------------------------------------------------------- 1 | eb8a2dccf8ade83749741313e531864cabc7120b 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/CHERRY_PICK_HEAD: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/MERGE_MSG: -------------------------------------------------------------------------------- 1 | chore: add test commit 1 2 | 3 | # Conflicts: 4 | # README.md 5 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | b69f92ac38136bb8fd140ef5ecb609dcc098b2ea 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/index -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 0c1e5510ac379303b948e7d58c9f665062bc9114 Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249557 -0400 update by push 3 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114 -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382 -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/23/735b21e7e220571d62a992e115193df8de8a10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/23/735b21e7e220571d62a992e115193df8de8a10 -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/6b/f03f59303f35e03ab1e6b36597584111125836: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/6b/f03f59303f35e03ab1e6b36597584111125836 -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9 -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/8e/5a7a5c2dcead1332481c26510db09ddcd4dd15: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/8e/5a7a5c2dcead1332481c26510db09ddcd4dd15 -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/95/291eb538433c7230764422c8bd99314f2d4cc4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/95/291eb538433c7230764422c8bd99314f2d4cc4 -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/b6/9f92ac38136bb8fd140ef5ecb609dcc098b2ea: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/b6/9f92ac38136bb8fd140ef5ecb609dcc098b2ea -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/objects/eb/8a2dccf8ade83749741313e531864cabc7120b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/cherry_pick_conflict/dot_git/objects/eb/8a2dccf8ade83749741313e531864cabc7120b -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 23735b21e7e220571d62a992e115193df8de8a10 2 | -------------------------------------------------------------------------------- /testdata/cherry_pick_conflict/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/clean/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | -------------------------------------------------------------------------------- /testdata/clean/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/clean/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/clean/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/clean/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/clean/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/clean/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/clean/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/clean/dot_git/index -------------------------------------------------------------------------------- /testdata/clean/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/clean/dot_git/logs/HEAD: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/clean/dot_git/logs/refs/heads/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/clean/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/clean/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/clean/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/clean/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/clean/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/clean/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/clean/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/clean/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/clean/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/commit/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | -------------------------------------------------------------------------------- /testdata/commit/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/commit/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/commit/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/commit/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/commit/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/commit/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/commit/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/commit/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/commit/dot_git/index -------------------------------------------------------------------------------- /testdata/commit/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/commit/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 0c1e5510ac379303b948e7d58c9f665062bc9114 Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249557 -0400 update by push 3 | -------------------------------------------------------------------------------- /testdata/commit/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/commit/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114 -------------------------------------------------------------------------------- /testdata/commit/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/commit/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382 -------------------------------------------------------------------------------- /testdata/commit/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/commit/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/commit/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/commit/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9 -------------------------------------------------------------------------------- /testdata/commit/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/commit/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a -------------------------------------------------------------------------------- /testdata/commit/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/commit/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/commit/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/commit/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/commit/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/commit/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/configs/color_overrides.toml: -------------------------------------------------------------------------------- 1 | color_clean='#e6ee04' 2 | color_no_upstream="reset fg:black bg:white" 3 | color_dirty="bg:#b30559" 4 | color_delta="fg:#fcb728" 5 | color_untracked="fg:#ff0000 bg:#16f2aa" 6 | color_merging="bg:#ccccff magenta" 7 | -------------------------------------------------------------------------------- /testdata/configs/invalid_syntax.toml: -------------------------------------------------------------------------------- 1 | invalid syntax 2 | iasas= d 3 | -------------------------------------------------------------------------------- /testdata/conflict_ahead/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Modified line 4 | -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_ahead/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_ahead/dot_git/index -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_ahead/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_ahead/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83 -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_ahead/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_ahead/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661 -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_ahead/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_ahead/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/conflict_ahead/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/conflict_behind/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_behind/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_behind/dot_git/index -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 0c1e5510ac379303b948e7d58c9f665062bc9114 Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249557 -0400 update by push 3 | -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_behind/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114 -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_behind/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382 -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_behind/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_behind/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9 -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_behind/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_behind/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_behind/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/conflict_behind/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/conflict_diverged/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Diverge 4 | -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_diverged/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_diverged/dot_git/index -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 0c1e5510ac379303b948e7d58c9f665062bc9114 Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249557 -0400 update by push 3 | -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_diverged/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114 -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_diverged/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382 -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_diverged/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/objects/5c/13a5b8d07eb0227fb82a598f56d956a452442d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_diverged/dot_git/objects/5c/13a5b8d07eb0227fb82a598f56d956a452442d -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_diverged/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9 -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_diverged/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_diverged/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/objects/ac/2180ee7624501134ba79245f7359d52c966277: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_diverged/dot_git/objects/ac/2180ee7624501134ba79245f7359d52c966277 -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/objects/ba/d1c77fc7b325ce66b3b5fa8b4ac393d50c98c5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_diverged/dot_git/objects/ba/d1c77fc7b325ce66b3b5fa8b4ac393d50c98c5 -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/conflict_diverged/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | ac2180ee7624501134ba79245f7359d52c966277 2 | -------------------------------------------------------------------------------- /testdata/conflict_diverged/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/dirty/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Modified line 4 | -------------------------------------------------------------------------------- /testdata/dirty/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/dirty/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/dirty/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/dirty/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/dirty/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/dirty/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/dirty/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/dirty/dot_git/index -------------------------------------------------------------------------------- /testdata/dirty/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/dirty/dot_git/logs/HEAD: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/dirty/dot_git/logs/refs/heads/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/dirty/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/dirty/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/dirty/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/dirty/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/dirty/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/dirty/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/dirty/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/dirty/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/dirty/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/dirty_staged/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Modified line 4 | -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/dirty_staged/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/dirty_staged/dot_git/index -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/logs/HEAD: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/logs/refs/heads/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/dirty_staged/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/dirty_staged/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83 -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/dirty_staged/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/dirty_staged/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/dirty_staged/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/dirty_staged/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/git_dir/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/git_dir/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | -------------------------------------------------------------------------------- /testdata/git_dir/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/git_dir/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/git_dir/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/git_dir/objects/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /testdata/git_dir/refs/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /testdata/merge/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Repo is for testing. 4 | -------------------------------------------------------------------------------- /testdata/merge/README.md.orig: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | <<<<<<< HEAD 3 | 4 | Here is a merge conflict 5 | ||||||| 24afc95 6 | ======= 7 | 8 | Repo is for testing. 9 | >>>>>>> refs/remotes/origin/main 10 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/AUTO_MERGE: -------------------------------------------------------------------------------- 1 | d0d22e3014c68c360bf5d55b851e070e95e58fb5 2 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 branch 'main' of github.com:mikesmithgh/test 2 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/MERGE_HEAD: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/MERGE_MODE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/MERGE_MODE -------------------------------------------------------------------------------- /testdata/merge/dot_git/MERGE_MSG: -------------------------------------------------------------------------------- 1 | Merge remote-tracking branch 'refs/remotes/origin/main' 2 | 3 | # Conflicts: 4 | # README.md 5 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | a60a43074e8f653d9ea19c927e9e2b9deb7c568b 2 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/index -------------------------------------------------------------------------------- /testdata/merge/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 0c1e5510ac379303b948e7d58c9f665062bc9114 Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249557 -0400 update by push 3 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114 -------------------------------------------------------------------------------- /testdata/merge/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382 -------------------------------------------------------------------------------- /testdata/merge/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/merge/dot_git/objects/69/6f0a7f819a5fced9d69e589c846e9f386ff736: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/objects/69/6f0a7f819a5fced9d69e589c846e9f386ff736 -------------------------------------------------------------------------------- /testdata/merge/dot_git/objects/7a/6c4f4b24df0c3b8a74035a82348ce36e201c95: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/objects/7a/6c4f4b24df0c3b8a74035a82348ce36e201c95 -------------------------------------------------------------------------------- /testdata/merge/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9 -------------------------------------------------------------------------------- /testdata/merge/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a -------------------------------------------------------------------------------- /testdata/merge/dot_git/objects/a6/0a43074e8f653d9ea19c927e9e2b9deb7c568b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/objects/a6/0a43074e8f653d9ea19c927e9e2b9deb7c568b -------------------------------------------------------------------------------- /testdata/merge/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/merge/dot_git/objects/d0/d22e3014c68c360bf5d55b851e070e95e58fb5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/objects/d0/d22e3014c68c360bf5d55b851e070e95e58fb5 -------------------------------------------------------------------------------- /testdata/merge/dot_git/objects/d2/aa524f49ef823b2a734c894c08e53f465bd491: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/objects/d2/aa524f49ef823b2a734c894c08e53f465bd491 -------------------------------------------------------------------------------- /testdata/merge/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/merge/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | a60a43074e8f653d9ea19c927e9e2b9deb7c568b 2 | -------------------------------------------------------------------------------- /testdata/merge/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/merge_conflict/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | <<<<<<< HEAD 3 | 4 | Here is a merge conflict 5 | ||||||| 24afc95 6 | ======= 7 | 8 | Repo is for testing. 9 | >>>>>>> refs/remotes/origin/main 10 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/AUTO_MERGE: -------------------------------------------------------------------------------- 1 | d0d22e3014c68c360bf5d55b851e070e95e58fb5 2 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 branch 'main' of github.com:mikesmithgh/test 2 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/MERGE_HEAD: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/MERGE_MODE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/MERGE_MODE -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/MERGE_MSG: -------------------------------------------------------------------------------- 1 | Merge remote-tracking branch 'refs/remotes/origin/main' 2 | 3 | # Conflicts: 4 | # README.md 5 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | a60a43074e8f653d9ea19c927e9e2b9deb7c568b 2 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/index -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 0c1e5510ac379303b948e7d58c9f665062bc9114 Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249557 -0400 update by push 3 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114 -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382 -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/objects/69/6f0a7f819a5fced9d69e589c846e9f386ff736: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/objects/69/6f0a7f819a5fced9d69e589c846e9f386ff736 -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/objects/7a/6c4f4b24df0c3b8a74035a82348ce36e201c95: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/objects/7a/6c4f4b24df0c3b8a74035a82348ce36e201c95 -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9 -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/objects/a6/0a43074e8f653d9ea19c927e9e2b9deb7c568b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/objects/a6/0a43074e8f653d9ea19c927e9e2b9deb7c568b -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/objects/d0/d22e3014c68c360bf5d55b851e070e95e58fb5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/objects/d0/d22e3014c68c360bf5d55b851e070e95e58fb5 -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/objects/d2/aa524f49ef823b2a734c894c08e53f465bd491: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/objects/d2/aa524f49ef823b2a734c894c08e53f465bd491 -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/merge_conflict/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | a60a43074e8f653d9ea19c927e9e2b9deb7c568b 2 | -------------------------------------------------------------------------------- /testdata/merge_conflict/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/no_upstream/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/no_upstream/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | -------------------------------------------------------------------------------- /testdata/no_upstream/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/no_upstream/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/no_upstream/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/no_upstream/dot_git/objects/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /testdata/no_upstream/dot_git/refs/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /testdata/no_upstream_remote/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/no_upstream_remote/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/no_upstream_remote/dot_git/index -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/logs/HEAD: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/logs/refs/heads/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/no_upstream_remote/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/no_upstream_remote/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/no_upstream_remote/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/no_upstream_remote/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/norepo/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | -------------------------------------------------------------------------------- /testdata/rebase/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Modified line 4 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/rebase/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/REBASE_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase/dot_git/index -------------------------------------------------------------------------------- /testdata/rebase/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/rebase/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83 -------------------------------------------------------------------------------- /testdata/rebase/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/rebase/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661 -------------------------------------------------------------------------------- /testdata/rebase/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f -------------------------------------------------------------------------------- /testdata/rebase/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/amend: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/author-script: -------------------------------------------------------------------------------- 1 | GIT_AUTHOR_NAME='Mike Smith' 2 | GIT_AUTHOR_EMAIL='10135646+mikesmithgh@users.noreply.github.com' 3 | GIT_AUTHOR_DATE='@1710249375 -0400' 4 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/done: -------------------------------------------------------------------------------- 1 | edit b69e688b26a7ca0498b0cbd8b3e6e189d987b661 chore: ahead 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/git-rebase-todo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase/dot_git/rebase-apply/git-rebase-todo -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/head-name: -------------------------------------------------------------------------------- 1 | refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/last: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/message: -------------------------------------------------------------------------------- 1 | chore: ahead 2 | 3 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/next: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/no-reschedule-failed-exec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase/dot_git/rebase-apply/no-reschedule-failed-exec -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/onto: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/orig-head: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/patch: -------------------------------------------------------------------------------- 1 | diff --git a/README.md b/README.md 2 | index a8cdb91..a60a2fa 100644 3 | --- a/README.md 4 | +++ b/README.md 5 | @@ -1 +1,3 @@ 6 | # Test Repo 7 | + 8 | +Modified line 9 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/rebasing: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase/dot_git/rebase-apply/rebasing -------------------------------------------------------------------------------- /testdata/rebase/dot_git/rebase-apply/stopped-sha: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Modified line 4 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/REBASE_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i/dot_git/index -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83 -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661 -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/amend: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/author-script: -------------------------------------------------------------------------------- 1 | GIT_AUTHOR_NAME='Mike Smith' 2 | GIT_AUTHOR_EMAIL='10135646+mikesmithgh@users.noreply.github.com' 3 | GIT_AUTHOR_DATE='@1710249375 -0400' 4 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/done: -------------------------------------------------------------------------------- 1 | edit b69e688b26a7ca0498b0cbd8b3e6e189d987b661 chore: ahead 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/end: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/git-rebase-todo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i/dot_git/rebase-merge/git-rebase-todo -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/head-name: -------------------------------------------------------------------------------- 1 | refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/interactive: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i/dot_git/rebase-merge/interactive -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/message: -------------------------------------------------------------------------------- 1 | chore: ahead 2 | 3 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/msgnum: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/no-reschedule-failed-exec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i/dot_git/rebase-merge/no-reschedule-failed-exec -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/onto: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/orig-head: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/patch: -------------------------------------------------------------------------------- 1 | diff --git a/README.md b/README.md 2 | index a8cdb91..a60a2fa 100644 3 | --- a/README.md 4 | +++ b/README.md 5 | @@ -1 +1,3 @@ 6 | # Test Repo 7 | + 8 | +Modified line 9 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/rebase-merge/stopped-sha: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Modified line 4 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i_no_steps/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/REBASE_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i_no_steps/dot_git/index -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i_no_steps/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i_no_steps/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83 -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i_no_steps/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i_no_steps/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661 -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i_no_steps/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i_no_steps/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/rebase-merge/amend: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/rebase-merge/author-script: -------------------------------------------------------------------------------- 1 | GIT_AUTHOR_NAME='Mike Smith' 2 | GIT_AUTHOR_EMAIL='10135646+mikesmithgh@users.noreply.github.com' 3 | GIT_AUTHOR_DATE='@1710249375 -0400' 4 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/rebase-merge/done: -------------------------------------------------------------------------------- 1 | edit b69e688b26a7ca0498b0cbd8b3e6e189d987b661 chore: ahead 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/rebase-merge/git-rebase-todo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i_no_steps/dot_git/rebase-merge/git-rebase-todo -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/rebase-merge/head-name: -------------------------------------------------------------------------------- 1 | refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/rebase-merge/interactive: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i_no_steps/dot_git/rebase-merge/interactive -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/rebase-merge/message: -------------------------------------------------------------------------------- 1 | chore: ahead 2 | 3 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/rebase-merge/no-reschedule-failed-exec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_i_no_steps/dot_git/rebase-merge/no-reschedule-failed-exec -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/rebase-merge/onto: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/rebase-merge/orig-head: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/rebase-merge/patch: -------------------------------------------------------------------------------- 1 | diff --git a/README.md b/README.md 2 | index a8cdb91..a60a2fa 100644 3 | --- a/README.md 4 | +++ b/README.md 5 | @@ -1 +1,3 @@ 6 | # Test Repo 7 | + 8 | +Modified line 9 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/rebase-merge/stopped-sha: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_i_no_steps/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Modified line 4 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_m/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/REBASE_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_m/dot_git/index -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_m/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_m/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83 -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_m/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_m/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661 -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_m/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_m/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/amend: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/author-script: -------------------------------------------------------------------------------- 1 | GIT_AUTHOR_NAME='Mike Smith' 2 | GIT_AUTHOR_EMAIL='10135646+mikesmithgh@users.noreply.github.com' 3 | GIT_AUTHOR_DATE='@1710249375 -0400' 4 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/done: -------------------------------------------------------------------------------- 1 | edit b69e688b26a7ca0498b0cbd8b3e6e189d987b661 chore: ahead 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/end: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/git-rebase-todo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_m/dot_git/rebase-merge/git-rebase-todo -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/head-name: -------------------------------------------------------------------------------- 1 | refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/message: -------------------------------------------------------------------------------- 1 | chore: ahead 2 | 3 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/msgnum: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/no-reschedule-failed-exec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_m/dot_git/rebase-merge/no-reschedule-failed-exec -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/onto: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/orig-head: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/patch: -------------------------------------------------------------------------------- 1 | diff --git a/README.md b/README.md 2 | index a8cdb91..a60a2fa 100644 3 | --- a/README.md 4 | +++ b/README.md 5 | @@ -1 +1,3 @@ 6 | # Test Repo 7 | + 8 | +Modified line 9 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/rebase-merge/stopped-sha: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_m/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Modified line 4 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_no_steps/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/REBASE_HEAD: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_no_steps/dot_git/index -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_no_steps/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_no_steps/dot_git/objects/a6/0a2fae6d9604439a447c5f618bbaf4d4fb9c83 -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_no_steps/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_no_steps/dot_git/objects/b6/9e688b26a7ca0498b0cbd8b3e6e189d987b661 -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_no_steps/dot_git/objects/c8/2520f3011ecbaee5ee1eddc882bd7af6b4d14f -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_no_steps/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/rebase-apply/amend: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/rebase-apply/author-script: -------------------------------------------------------------------------------- 1 | GIT_AUTHOR_NAME='Mike Smith' 2 | GIT_AUTHOR_EMAIL='10135646+mikesmithgh@users.noreply.github.com' 3 | GIT_AUTHOR_DATE='@1710249375 -0400' 4 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/rebase-apply/done: -------------------------------------------------------------------------------- 1 | edit b69e688b26a7ca0498b0cbd8b3e6e189d987b661 chore: ahead 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/rebase-apply/git-rebase-todo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_no_steps/dot_git/rebase-apply/git-rebase-todo -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/rebase-apply/head-name: -------------------------------------------------------------------------------- 1 | refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/rebase-apply/message: -------------------------------------------------------------------------------- 1 | chore: ahead 2 | 3 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/rebase-apply/no-reschedule-failed-exec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_no_steps/dot_git/rebase-apply/no-reschedule-failed-exec -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/rebase-apply/onto: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/rebase-apply/orig-head: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/rebase-apply/patch: -------------------------------------------------------------------------------- 1 | diff --git a/README.md b/README.md 2 | index a8cdb91..a60a2fa 100644 3 | --- a/README.md 4 | +++ b/README.md 5 | @@ -1 +1,3 @@ 6 | # Test Repo 7 | + 8 | +Modified line 9 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/rebase-apply/rebasing: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/rebase_no_steps/dot_git/rebase-apply/rebasing -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/rebase-apply/stopped-sha: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | b69e688b26a7ca0498b0cbd8b3e6e189d987b661 2 | -------------------------------------------------------------------------------- /testdata/rebase_no_steps/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/revert/dot_git/AUTO_MERGE: -------------------------------------------------------------------------------- 1 | 9292d0f6c53027cf9ea31c44b6df4478b769bf8a 2 | -------------------------------------------------------------------------------- /testdata/revert/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/revert/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/revert/dot_git/MERGE_MSG: -------------------------------------------------------------------------------- 1 | Revert "chore: test repo" 2 | 3 | This reverts commit 24afc9585ad36ab4a5bcfce5fe08131e72904a5e. 4 | 5 | # Conflicts: 6 | # README.md 7 | -------------------------------------------------------------------------------- /testdata/revert/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | b69f92ac38136bb8fd140ef5ecb609dcc098b2ea 2 | -------------------------------------------------------------------------------- /testdata/revert/dot_git/REVERT_HEAD: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/revert/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/revert/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/revert/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/revert/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/index -------------------------------------------------------------------------------- /testdata/revert/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/revert/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 0c1e5510ac379303b948e7d58c9f665062bc9114 Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249557 -0400 update by push 3 | -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114 -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382 -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/23/735b21e7e220571d62a992e115193df8de8a10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/23/735b21e7e220571d62a992e115193df8de8a10 -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/6b/f03f59303f35e03ab1e6b36597584111125836: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/6b/f03f59303f35e03ab1e6b36597584111125836 -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9 -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/8e/5a7a5c2dcead1332481c26510db09ddcd4dd15: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/8e/5a7a5c2dcead1332481c26510db09ddcd4dd15 -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/95/291eb538433c7230764422c8bd99314f2d4cc4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/95/291eb538433c7230764422c8bd99314f2d4cc4 -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/b6/9f92ac38136bb8fd140ef5ecb609dcc098b2ea: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/b6/9f92ac38136bb8fd140ef5ecb609dcc098b2ea -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/c9/686eed271e4ef732bd90a4df20aa386950374f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/c9/686eed271e4ef732bd90a4df20aa386950374f -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/revert/dot_git/objects/eb/8a2dccf8ade83749741313e531864cabc7120b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert/dot_git/objects/eb/8a2dccf8ade83749741313e531864cabc7120b -------------------------------------------------------------------------------- /testdata/revert/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | c9686eed271e4ef732bd90a4df20aa386950374f 2 | -------------------------------------------------------------------------------- /testdata/revert/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/revert_conflict/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | 3 | Repo is for testing. 4 | -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/AUTO_MERGE: -------------------------------------------------------------------------------- 1 | 9292d0f6c53027cf9ea31c44b6df4478b769bf8a 2 | -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/MERGE_MSG: -------------------------------------------------------------------------------- 1 | Revert "chore: test repo" 2 | 3 | This reverts commit 24afc9585ad36ab4a5bcfce5fe08131e72904a5e. 4 | 5 | # Conflicts: 6 | # README.md 7 | -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | b69f92ac38136bb8fd140ef5ecb609dcc098b2ea 2 | -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/REVERT_HEAD: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/index -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 0c1e5510ac379303b948e7d58c9f665062bc9114 Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249557 -0400 update by push 3 | -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114 -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382 -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/23/735b21e7e220571d62a992e115193df8de8a10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/23/735b21e7e220571d62a992e115193df8de8a10 -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/6b/f03f59303f35e03ab1e6b36597584111125836: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/6b/f03f59303f35e03ab1e6b36597584111125836 -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/8b/d10196bff523aa457e79f5fc2ad0bce66c6fd9 -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/8e/5a7a5c2dcead1332481c26510db09ddcd4dd15: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/8e/5a7a5c2dcead1332481c26510db09ddcd4dd15 -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/95/291eb538433c7230764422c8bd99314f2d4cc4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/95/291eb538433c7230764422c8bd99314f2d4cc4 -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/b6/9f92ac38136bb8fd140ef5ecb609dcc098b2ea: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/b6/9f92ac38136bb8fd140ef5ecb609dcc098b2ea -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/c9/686eed271e4ef732bd90a4df20aa386950374f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/c9/686eed271e4ef732bd90a4df20aa386950374f -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/objects/eb/8a2dccf8ade83749741313e531864cabc7120b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/revert_conflict/dot_git/objects/eb/8a2dccf8ade83749741313e531864cabc7120b -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | c9686eed271e4ef732bd90a4df20aa386950374f 2 | -------------------------------------------------------------------------------- /testdata/revert_conflict/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/sparse/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | -------------------------------------------------------------------------------- /testdata/sparse/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/sparse/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/sparse/dot_git/config.worktree: -------------------------------------------------------------------------------- 1 | [core] 2 | sparseCheckout = true 3 | sparseCheckoutCone = true 4 | -------------------------------------------------------------------------------- /testdata/sparse/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/sparse/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/sparse/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse/dot_git/index -------------------------------------------------------------------------------- /testdata/sparse/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/sparse/dot_git/info/sparse-checkout: -------------------------------------------------------------------------------- 1 | /* 2 | !/*/ 3 | -------------------------------------------------------------------------------- /testdata/sparse/dot_git/logs/HEAD: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/sparse/dot_git/logs/refs/heads/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/sparse/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/sparse/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/sparse/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/sparse/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/sparse/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/sparse/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | <<<<<<< HEAD 3 | 4 | conflict 5 | ||||||| 24afc95 6 | ======= 7 | 8 | Repo is for testing. 9 | >>>>>>> refs/remotes/origin/main 10 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/AUTO_MERGE: -------------------------------------------------------------------------------- 1 | 9f30e166d6463f6379d218115d83077b1b683cd7 2 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 branch 'main' of github.com:mikesmithgh/test 2 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/MERGE_HEAD: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/MERGE_MODE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/MERGE_MODE -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/MERGE_MSG: -------------------------------------------------------------------------------- 1 | Merge remote-tracking branch 'refs/remotes/origin/main' 2 | 3 | # Conflicts: 4 | # README.md 5 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/ORIG_HEAD: -------------------------------------------------------------------------------- 1 | 778c80813dfb926696c7a56d04e737de4dbe30ec 2 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/config.worktree: -------------------------------------------------------------------------------- 1 | [core] 2 | sparseCheckout = true 3 | sparseCheckoutCone = true 4 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/index -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/info/sparse-checkout: -------------------------------------------------------------------------------- 1 | /* 2 | !/*/ 3 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/objects/0c/1e5510ac379303b948e7d58c9f665062bc9114 -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/objects/0e/f5caa6cda22f1c054f3c8aae9eadd53b5f2382 -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/objects/3e/55652aceac9bae7d18752caf8f51407a7eb4c8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/objects/3e/55652aceac9bae7d18752caf8f51407a7eb4c8 -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/objects/77/8c80813dfb926696c7a56d04e737de4dbe30ec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/objects/77/8c80813dfb926696c7a56d04e737de4dbe30ec -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/objects/92/92d0f6c53027cf9ea31c44b6df4478b769bf8a -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/objects/9f/30e166d6463f6379d218115d83077b1b683cd7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/objects/9f/30e166d6463f6379d218115d83077b1b683cd7 -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/objects/a4/7f709ff81214871ff0d950f12c15fea748ba65: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/objects/a4/7f709ff81214871ff0d950f12c15fea748ba65 -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/objects/df/0c0ef011a1d8aeedbfde6446b0388cf21770c3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/sparse_merge_conflict/dot_git/objects/df/0c0ef011a1d8aeedbfde6446b0388cf21770c3 -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 778c80813dfb926696c7a56d04e737de4dbe30ec 2 | -------------------------------------------------------------------------------- /testdata/sparse_merge_conflict/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0c1e5510ac379303b948e7d58c9f665062bc9114 2 | -------------------------------------------------------------------------------- /testdata/tag/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | -------------------------------------------------------------------------------- /testdata/tag/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/tag/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/tag/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/tag/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/tag/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/tag/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/tag/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/tag/dot_git/index -------------------------------------------------------------------------------- /testdata/tag/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/tag/dot_git/logs/refs/heads/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/tag/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/tag/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/tag/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/tag/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/tag/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/tag/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/tag/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/tag/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/tag/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/tag/dot_git/refs/tags/v1.0.0: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/tag/dot_git/refs/tags/v1.1.0: -------------------------------------------------------------------------------- 1 | ee15d853d41921ef418bab005f3f418905ca1291 2 | -------------------------------------------------------------------------------- /testdata/tag/dot_git/refs/tags/v1.2.0: -------------------------------------------------------------------------------- 1 | ac1388817966209ffb7a8a83a084f7388134c07d 2 | -------------------------------------------------------------------------------- /testdata/untracked/README.md: -------------------------------------------------------------------------------- 1 | # Test Repo 2 | -------------------------------------------------------------------------------- /testdata/untracked/dot_git/FETCH_HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/untracked/dot_git/FETCH_HEAD -------------------------------------------------------------------------------- /testdata/untracked/dot_git/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/main 2 | -------------------------------------------------------------------------------- /testdata/untracked/dot_git/config: -------------------------------------------------------------------------------- 1 | [core] 2 | repositoryformatversion = 0 3 | filemode = true 4 | bare = false 5 | logallrefupdates = true 6 | ignorecase = true 7 | precomposeunicode = true 8 | [remote "origin"] 9 | url = git@github.com:mikesmithgh/test.git 10 | fetch = +refs/heads/*:refs/remotes/origin/* 11 | [branch "main"] 12 | remote = origin 13 | merge = refs/heads/main 14 | -------------------------------------------------------------------------------- /testdata/untracked/dot_git/description: -------------------------------------------------------------------------------- 1 | Unnamed repository; edit this file 'description' to name the repository. 2 | -------------------------------------------------------------------------------- /testdata/untracked/dot_git/hooks/post-update.sample: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # An example hook script to prepare a packed repository for use over 4 | # dumb transports. 5 | # 6 | # To enable this hook, rename this file to "post-update". 7 | 8 | exec git update-server-info 9 | -------------------------------------------------------------------------------- /testdata/untracked/dot_git/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/untracked/dot_git/index -------------------------------------------------------------------------------- /testdata/untracked/dot_git/info/exclude: -------------------------------------------------------------------------------- 1 | # git ls-files --others --exclude-from=.git/info/exclude 2 | # Lines that start with '#' are comments. 3 | # For a project mostly in C, the following would be a good set of 4 | # exclude patterns (uncomment them if you want to use them): 5 | # *.[oa] 6 | # *~ 7 | -------------------------------------------------------------------------------- /testdata/untracked/dot_git/logs/HEAD: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/untracked/dot_git/logs/refs/heads/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249033 -0400 commit (initial): chore: test repo 2 | -------------------------------------------------------------------------------- /testdata/untracked/dot_git/logs/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 0000000000000000000000000000000000000000 24afc9585ad36ab4a5bcfce5fe08131e72904a5e Mike Smith <10135646+mikesmithgh@users.noreply.github.com> 1710249042 -0400 update by push 2 | -------------------------------------------------------------------------------- /testdata/untracked/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/untracked/dot_git/objects/24/afc9585ad36ab4a5bcfce5fe08131e72904a5e -------------------------------------------------------------------------------- /testdata/untracked/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/untracked/dot_git/objects/a8/cdb9100441b47e4afc480f32bdc28777511316 -------------------------------------------------------------------------------- /testdata/untracked/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/untracked/dot_git/objects/d6/9c9ff23f98b1bd528a3b78e11da79a2f038d1f -------------------------------------------------------------------------------- /testdata/untracked/dot_git/refs/heads/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/untracked/dot_git/refs/remotes/origin/main: -------------------------------------------------------------------------------- 1 | 24afc9585ad36ab4a5bcfce5fe08131e72904a5e 2 | -------------------------------------------------------------------------------- /testdata/untracked/untracked.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesmithgh/git-prompt-string/7c118630263eaa4fc7fb6dd213b376d277cc1657/testdata/untracked/untracked.txt -------------------------------------------------------------------------------- /vendor/github.com/buildkite/shellwords/quote.go: -------------------------------------------------------------------------------- 1 | package shellwords 2 | 3 | import ( 4 | "runtime" 5 | ) 6 | 7 | // Quote chooses between QuotePosix and QuoteBatch based on your operating system 8 | func Quote(word string) string { 9 | if runtime.GOOS == `windows` { 10 | return QuoteBatch(word) 11 | } 12 | return QuotePosix(word) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/buildkite/shellwords/split.go: -------------------------------------------------------------------------------- 1 | package shellwords 2 | 3 | import ( 4 | "runtime" 5 | ) 6 | 7 | // Split chooses between SplitPosix and SplitBatch based on your operating system 8 | func Split(line string) ([]string, error) { 9 | if runtime.GOOS == `windows` { 10 | return SplitBatch(line) 11 | } 12 | return SplitPosix(line) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/.dockerignore: -------------------------------------------------------------------------------- 1 | cmd/tomll/tomll 2 | cmd/tomljson/tomljson 3 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | benchmark/benchmark.toml text eol=lf 4 | testdata/** text eol=lf 5 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/.gitignore: -------------------------------------------------------------------------------- 1 | test_program/test_program_bin 2 | fuzz/ 3 | cmd/tomll/tomll 4 | cmd/tomljson/tomljson 5 | cmd/tomltestgen/tomltestgen 6 | dist 7 | tests/ 8 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM scratch 2 | ENV PATH "$PATH:/bin" 3 | COPY tomll /bin/tomll 4 | COPY tomljson /bin/tomljson 5 | COPY jsontoml /bin/jsontoml 6 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/doc.go: -------------------------------------------------------------------------------- 1 | // Package toml is a library to read and write TOML documents. 2 | package toml 3 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/internal/tracker/tracker.go: -------------------------------------------------------------------------------- 1 | package tracker 2 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/v2/unstable/doc.go: -------------------------------------------------------------------------------- 1 | // Package unstable provides APIs that do not meet the backward compatibility 2 | // guarantees yet. 3 | package unstable 4 | --------------------------------------------------------------------------------