Skip to content

Commit

Permalink
remove a fixme (#178)
Browse files Browse the repository at this point in the history
amtoine authored Apr 13, 2024
1 parent b0d7195 commit eaf9f5b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkgs/nu-git-manager/nu-git-manager/git/repo.nu
Original file line number Diff line number Diff line change
@@ -21,10 +21,7 @@ export def get-root-commit [
repo?: path, # the path to the repository to check (defaults to `pwd`)
]: nothing -> string {
let repo = $repo | default (pwd)

# FIXME: this is a bug and should work without string interpolation
# see https://github.com/nushell/nushell/issues/11134
$"(^git -C $repo rev-list HEAD | lines | last)"
(^git -C $repo rev-list HEAD | lines | last)
}

# wrapper around `git remote --verbose show` to list the remotes of a repository

0 comments on commit eaf9f5b

Please sign in to comment.