delta icon indicating copy to clipboard operation
delta copied to clipboard

🐛 With `file-style=omit`, git submodules are only displayed as truncated SHA changes

Open CodexHere opened this issue 2 years ago • 1 comments

Not sure how to really indicate whether this is a bug, or a feature request.

I've set file-style=omit because I prefer to use hunk-header-* settings, however git submodules are completely without any metadata to indicate what is going on with the SHA changes.

Ideally with the hunk-header it'd still show the project name (ie, golden-hammer-services as an example listed below in the raw output)

Raw Git output:

diff --git a/golden-hammer-services b/golden-hammer-services
index bde0d96..1eddb35 160000
--- a/golden-hammer-services
+++ b/golden-hammer-services
@@ -1 +1 @@
-Subproject commit bde0d96ce720a77dc433f5f30e579da3c319f228
+Subproject commit 1eddb3554c74b9e1b92237c7bf132a44cc10b2f4-dirty
diff --git a/golden-hammer-shared b/golden-hammer-shared
index 06f838f..5e12355 160000
--- a/golden-hammer-shared
+++ b/golden-hammer-shared
@@ -1 +1 @@
-Subproject commit 06f838f71e788b237a0cbfc6e60347b1d1536b9f
+Subproject commit 5e1235523ccb71c643c83294333ba349d28d56bd-dirty
diff --git a/golden-hammer-ui b/golden-hammer-ui
index 6d4d420..ce896bf 160000
--- a/golden-hammer-ui
+++ b/golden-hammer-ui
@@ -1 +1 @@
-Subproject commit 6d4d420e77a53d33674d2f2e29760dc7a93ca96c
+Subproject commit ce896bf290cc14316052362b5bf05f08f052ebf2-dirty

Screenshot with file-style=omit: image

Screenshot with file-style as default: image

CodexHere avatar Jun 24 '23 20:06 CodexHere