francescmm / GitQlient

GitQlient: Multi-platform Git client written with Qt.
https://www.francescmm.com
GNU Lesser General Public License v2.1
843 stars 84 forks source link

Fix longLog (Commit Description) output #272

Closed band-a-prend closed 1 year ago

band-a-prend commented 1 year ago

Currently the 1st line of Commit Description is ommited at least on Commit Info Panel output. It's due to wrong start line number in the loop. The magic number is replaced with current startingField value.

Description

Change Type

Reason

Before the patch (notice \<No description provided>): before_longLog_patch

After the patch (notice actual commit description): after_longLog_patch

Related Issue

Tests

band-a-prend commented 1 year ago

Could parced git log output depends on user git config? E.g. like show gpg etc? Or additional info is ommited by used git log command?

francescmm commented 1 year ago

Thanks for the fix @band-a-prend! I think the error has been here for quite a long time. Not sure when it started to happen, but I've tested locally and it seems to work with both signed and usigned!

band-a-prend commented 1 year ago

@francescmm it seems that issue affected "last commit amend" (from context menu) too - the displayed long description to edit was 1st line truncated.