Skip to content

completions/git: fix support for path relative to current directory#666

Merged
fdncred merged 2 commits intonushell:mainfrom
Abdillah:feature/git-support-relative-path
Nov 14, 2023
Merged

completions/git: fix support for path relative to current directory#666
fdncred merged 2 commits intonushell:mainfrom
Abdillah:feature/git-support-relative-path

Conversation

@Abdillah
Copy link
Copy Markdown
Contributor

Continuing effort on #617 which only auto-completes path relative to git root.

Before,

$ cd src/

$ git add <tab>
src/main.rs    Modified
README.md      Untracked

$ git diff <tab>
src/main.rs

Now it displays,

$ cd src/

$ git add <tab>
main.rs           Modified
../README.md      Untracked

$ git diff <tab>
main.rs

@fdncred fdncred merged commit 8635a78 into nushell:main Nov 14, 2023
@fdncred
Copy link
Copy Markdown
Contributor

fdncred commented Nov 14, 2023

Thanks

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.

2 participants