git.limo icon indicating copy to clipboard operation
git.limo copied to clipboard

Feat show submodule entry info.

Open EdmondFrank opened this issue 1 year ago • 0 comments

Now, if the repository contains sub-modules, it will give an error, when rendering the repository tree list.

Here are logs

git-frank    | 02:50:35.601 [info]  Sent 500 in 4ms
git-frank    | 
git-frank    | 02:50:35.601 [error] #PID<0.18569.0> running GitGud.Web.Endpoint (connection #PID<0.18567.0>, stream id 1) terminated
git-frank    | Server: 175.178.76.69:4000 (http)
git-frank    | Request: GET /edmondfrank/CloudBackup
git-frank    | ** (exit) an exception was raised:
git-frank    |     ** (CaseClauseError) no case clause matching: :commit
git-frank    |         (gitgud_web 0.3.9) lib/gitgud_web/live/tree_browser_live.html.heex:141: anonymous fn/3 in GitGud.Web.TreeBrowserLive.render/1
git-frank    |         (elixir 1.13.0) lib/enum.ex:2396: Enum."-reduce/3-lists^foldl/2-0-"/3
git-frank    |         (gitgud_web 0.3.9) lib/gitgud_web/live/tree_browser_live.html.heex:138: anonymous fn/2 in GitGud.Web.TreeBrowserLive.render/1
git-frank    |         (phoenix_live_view 0.18.2) lib/phoenix_live_view/diff.ex:387: Phoenix.LiveView.Diff.traverse/7
git-frank    |         (phoenix_live_view 0.18.2) lib/phoenix_live_view/diff.ex:521: anonymous fn/4 in Phoenix.LiveView.Diff.traverse_dynamic/7
git-frank    |         (elixir 1.13.0) lib/enum.ex:2396: Enum."-reduce/3-lists^foldl/2-0-"/3
git-frank    |         (phoenix_live_view 0.18.2) lib/phoenix_live_view/diff.ex:387: Phoenix.LiveView.Diff.traverse/7
git-frank    |         (phoenix_live_view 0.18.2) lib/phoenix_live_view/diff.ex:138: Phoenix.LiveView.Diff.render/3

After the repair, the repair result is as shown in the figure. image

EdmondFrank avatar Oct 30 '23 03:10 EdmondFrank