summaryrefslogtreecommitdiff
path: root/src/Command
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-06-28 09:16:17 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-06-28 09:16:17 +0200
commita9ca7d47f22b37c43ac97f1f04181fe114f3ce58 (patch)
tree832557703035691d0ed492192fa4daa866d03661 /src/Command
parentbdd1d73969ff9015f444239099ed4cdd6afff910 (diff)
Fix extrating subtree hash in a bare repository
Changelog: Fix getting (sub)directory in a bare repository
Diffstat (limited to 'src/Command')
-rw-r--r--src/Command/Subtree.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Command/Subtree.hs b/src/Command/Subtree.hs
index 8d42d73..15cb2db 100644
--- a/src/Command/Subtree.hs
+++ b/src/Command/Subtree.hs
@@ -44,3 +44,4 @@ cmdSubtree (SubtreeCommand SubtreeOptions args) = do
subtree <- getSubtree Nothing (T.unpack path) =<< readTree repo subdir tree
outputMessage out $ textTreeId $ treeId subtree
+ outputEvent out $ TestMessage $ "path " <> T.pack (treeSubdir subtree)