Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git rm tab completion issues #45

Closed
taylorc opened this issue May 9, 2012 · 5 comments
Closed

git rm tab completion issues #45

taylorc opened this issue May 9, 2012 · 5 comments

Comments

@taylorc
Copy link

taylorc commented May 9, 2012

Running the command git rm no longer tabs through files to be deleted

For instance
deleted /FolderA/fileA
deleted /FolderA/fileB
deleted /FolderB/fileA

git rm used to give
git rm /FolderA/fileA --first tab
git rm /FolderA/fileB --secondtab

now it gives
git rm ./FolderA -- first tab
git rm ./FolderB -- second tab

@dahlbyk
Copy link
Owner

dahlbyk commented May 9, 2012

What version of Git are you using? The list of removed files comes directly from git status -sb - what does that return for you?

@taylorc
Copy link
Author

taylorc commented May 9, 2012

git status -sb returns the files that have been deleted but not staged. I'm using Git 1.7.10.

@dahlbyk
Copy link
Owner

dahlbyk commented May 18, 2012

I'm now on 1.7.10 and not able to reproduce this... If you dump $GitStatus.Working does it list the file names or only the folders?

lei-yu-wdfc pushed a commit to lei-yu-wdfc/posh-git that referenced this issue Aug 31, 2012
Regenerated DB/CSAPI entities, added two tests for SME-375
@snowe2010
Copy link

I'm getting this exact same problem, though it occurs with any file completion. The files once completed but now they don't.

λ ~\Drop\Tyle\pers\proj\root\rewrite git status -sb
## master
M  app.coffee
R  assets/css/master.css.styl -> assets/css/header.css.styl
M  assets/css/master.css.styl
A  "assets/img/kaboompics.com_Boats on the river.jpg"
A  "assets/img/kaboompics.com_Girl sitting on the boat.jpg"
M  assets/js/main.coffee
M  views/header.jade
?? assets/img/pexels-photo.jpg
?? ps/
?? ps2DA0.tmp
?? ps49C1.tmp
λ ~\Drop\Tyle\pers\proj\root\rewrite $GitStatus.Working
λ ~\Drop\Tyle\pers\proj\root\rewrite echo $GitStatus.Working

I think I was dumping $GitStatus.Working correctly there, but as you see nothing was output.

@dahlbyk
Copy link
Owner

dahlbyk commented Jan 4, 2017

I can't reproduce either of these... I'm going to go ahead and close, but if anyone is still struggling to get tab completion to work for rm please leave any details you can.

@dahlbyk dahlbyk closed this as completed Jan 4, 2017
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

No branches or pull requests

3 participants