git-changelog-lib icon indicating copy to clipboard operation
git-changelog-lib copied to clipboard

Does this work with shallow clones?

Open Noshire opened this issue 1 year ago • 1 comments

I hope this is the right platform to ask a question - I saw you do have a question tag (though I can't assign it).

So far, we've parsed the git history for our changelog manually, using git log from the current HEAD and doing some postprocessing on the result (omitting "Merge branch" commits etc).

We found that this workflow breaks since we changed the repositories on our CI system to use shallow cloning, since commits in the shallow clone don't know their whole ancestry anymore.

Before we do a deep dive and install and configure this plugin, I just wanted to ask whether it will work with shallow cloned repositories. Thanks!

Noshire avatar Jul 19 '22 15:07 Noshire

It will work but will only include the commits that have been downloaded. Sounds like you will have same problem you already have with git log.

tomasbjerre avatar Jul 19 '22 15:07 tomasbjerre