Make flexible setup to retrieve all commits for changelog
I use subgit to migrate from svn to git (http://subgit.com).
Subgit creates a lot of 'helper' commits in refs/svn/map, mainly to record the mapping from git commit to svn revision.
This works out fine, except for one thing.
All these helper commits show up in the RhodeCode changelog.
I had some discussion with the Subgit developers on this, and below is their answer.
Basically the helper commits show up in the output of 'git log -all --graph'.
If we could change that into 'git log --branches --tags --graph' it would solve this issue. However I can't oversee all the implications of this for other users.
So we could:
- change the above for everyone
- make the comman configurable
- make a config switch to indicate whether to use --all of --branches and/or --tags.
- make some config switches around --grep and --not to make a generic pattern thingy.
What are you thoughts on this?
I've put the response of the subgit developers an attachment.