Git Product home page Git Product logo

Comments (2)

bigH avatar bigH commented on September 16, 2024

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.

bigH avatar bigH commented on September 16, 2024

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:

  1. 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.

  2. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.