Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle initial commit #9

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Handle initial commit #9

wants to merge 9 commits into from

Conversation

dtaniwaki
Copy link
Contributor

@dtaniwaki dtaniwaki commented Apr 10, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant