devchat-ai / devchat

Automate your dev tasks with AI-powered scripts, from your IDE's chat panel.
https://www.devchat.ai
Apache License 2.0
340 stars 39 forks source link

Submodule updates not shown in commit descriptions #340

Open runjinz opened 4 months ago

runjinz commented 4 months ago

Issue Description: When generating commit descriptions, updates made to submodules are not being reflected correctly. Specifically, changes to the submodule that should result in a hash change in the commit logs are not appearing in the list of changes.

Steps to Reproduce:

  1. Update a submodule within a repository.
  2. Commit the changes made to the submodule.
  3. Generate a commit description for the repository.

Expected Behavior: The commit description should include the hash change for the submodule update, showing it as part of the changes list.

Actual Behavior: The updates made to submodules are not displayed in the commit descriptions. The hash change expected to be seen in the changes list is missing.

This issue affects tracking and documenting submodule changes efficiently and accurately. It seems that the commits involving submodules are not being handled as expected.

Possible Solutions:

This problem persists across multiple attempts and setups. Any insights or solutions would be greatly appreciated.

img_v3_009s_3fd66205-6c32-4173-8357-5d0fc98679ag