Open mgurov opened 12 years ago
Looking into the code, the sync is based on git fetch
which doesn't give a range of revisions for new branches:
)
2012-04-09 13:46:07.241 Gitifier[2769:603b] command git fetch completed with output: From file:///Users/mgu/work/git-svn/git.repo
- [new branch] newBranch2 -> origin/newBranch2```
a simple workaround could probably be to show a special notification when a new branch is created, optionally with some of its commits.
https://github.com/sickill/git-dude/blob/master/git-dude has a handling logic for a similar problem
proof of the concept implementation available @ https://github.com/mgurov/Gitifier/tree/newBranchTracking
git checkout -b newBranch && echo a > a && git commit -a -m "first change"
Gitifier -> check now - nothing shownecho b >> a && git commit -a -m "second change"
Gitifier -> check now - "second change" is notified about.Gitifier seems to skip all the commits in new branches that happened before a sync.