git-ghost icon indicating copy to clipboard operation
git-ghost copied to clipboard

Handle initial commit

Open dtaniwaki opened this issue 6 years ago • 0 comments

To support full commits, I used _ as a special character to indicate before the first commit because there's no commit hash for it. When _ is specified for the ComittishFrom variable, git-ghost creates a commits patch by just specifying the ComittishFrom in git log instead of specifying a range. This patch can be applied by git am to a git repo without any commits.

I also refactored the code to implement the special handling easier.

Fixes #5

dtaniwaki avatar Apr 10 '19 03:04 dtaniwaki