Comments (2)
This is a normal behavior of git
. If you do git status --short
, you'll see this. There's an --intent-to-add
switch for git add
that will display these files.
from git-fuzzy.
Additional info about --intent-to-add
[0].
Generally, --intent-to-add
seems like obscure functionality for special-cases. Though it solves your problem, it'd cause surprising outcomes for most users of git-fuzzy
. I can think of 2 ways to implement this and both seem problematic:
-
When adding, use
--intent-to-add
on directories. This is problematic because user will need to now manually add each file in the directory, rather than do it all at once, which was the original behavior. -
When displaying status, we could run
git add --intent-to-add
on any directories in status, then re-display status. Also problematic because if those files were not meant to be added, the user will need to address this directly.
This interface cannot completely replace git as there's a mountain of great functionality in git
that simply has no need for a visual interface. For your situation I'd simply run git add --intent-to-add nvim
and then git-fuzzy
will show you the contents and allow you to decide what to do.
[0] https://stackoverflow.com/a/24347875
from git-fuzzy.
Related Issues (20)
- Fails on initialized git repositories without commits HOT 1
- Similar project: forgit
- Windows support? HOT 1
- Disable checkout less restrictively HOT 1
- Default key bindings having uppercase letter do not work on MacOS HOT 7
- Feature request: Add more commands to stash
- Help wanted: Git fuzzy branch command not working as anticipated HOT 1
- fuzzy log highlight matches in preview HOT 2
- fuzzy adds persistent whitespace to terminal after `git fuzzy status` HOT 8
- Highlight git logs like in the preview HOT 2
- Help section hides the git command result below on small height terminal HOT 1
- Preview diff window is not showing up HOT 4
- Feature request: git log --patch fuzzy find HOT 1
- Ignore remote branches when using "git fuzzy branch" HOT 1
- Unreadable colors HOT 2
- Fixup HOT 1
- Amend in status HOT 5
- exa has been Abandoned by the author HOT 1
- Status does not display diffs when relativePaths=false HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-fuzzy.