Skip to content

Conversation

@CAESIUS-TIM
Copy link
Contributor

fix #1189

@CAESIUS-TIM
Copy link
Contributor Author

CAESIUS-TIM commented Dec 7, 2025

Is it necessary to apply str trim to $in.stdout?

Nushell has updated its syntax:

```nu
grt
# => fatal: ambiguous argument 'or': unknown revision or path not in the
working tree.
# => Use '--' to separate paths from revisions, like this:
# => 'git <command> [<revision>...] -- [<file>...]'
```
@fdncred
Copy link
Contributor

fdncred commented Dec 7, 2025

Is it necessary to apply str trim to $in.stdout?

Someone would have to look at the git code and determine if it's ever possible to return extra spaces to understand the answer to that question. Let's land this for now.

@fdncred fdncred merged commit 2ef093b into nushell:main Dec 7, 2025
1 check passed
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.

(git-aliases) The syntax of grt is outdated.

2 participants