diff --git a/src/nu-git-manager-sugar/git.nu b/src/nu-git-manager-sugar/git.nu index ff1faf13..0c313e64 100644 --- a/src/nu-git-manager-sugar/git.nu +++ b/src/nu-git-manager-sugar/git.nu @@ -11,8 +11,7 @@ use std log export def "gm repo get commit" [ revision: string = "HEAD" # the revision to get the hash of ]: nothing -> string { - # FIXME: this `str trim` sounds like a bug :thinking: - ^git rev-parse $revision | str trim + (^git rev-parse $revision) } def repo-root [] {