Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat show submodule entry info. #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EdmondFrank
Copy link
Contributor

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

Signed-off-by: EdmondFrank <EdmondFrank@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant