amzz/git-subtree — comment on commit 379ad64d3a2871f2331923f3d7969d79ed7b35ee
File:  line 0
By amzz:

The issue is triggered when giving annotated tag for 'git subtree pull' command like below

git subtree pull -P refs/tags/annotateg_tag --squash

This will store the wrong sha1 key of the annotated tag instead of commit sha1 key to squashed message. The squashed commit is stored in the message on the line 'git-subtree-split: '.

Since I just started to learn how git works, I made this quite dirty fix for now. I'm already preparing new release that has fix for this issue but also adding some new features such as status report, etc. For this, I took the latest fork updates as starting point for development.

The subtree approach is really unique and definitely more convenient than submodules that are difficult to use from user perspective. Especially when using nested submodules. Lets just hope that subtree is taken seriously and will be part of the official Git release. Of course it would require some things to be done more elegant way than the current git-subtree is able to do.

Petri