Comments (7)
Yeah this is unfortunately an issue with git's output when it (thinks) there is not much space on the terminal. It truncates the path to .../
(notice the three dots) which basically blasts away all information about the path.
@jingc ran into this as well, not sure what we can do here
from pathpicker.
I couldn't figure out how to make git diff --stat use fully qualified paths but there are some other commands that do work.
git diff --numstat HEAD~1 | fpp
git diff --name-status HEAD~1 | fpp
from pathpicker.
Yeah I checked the man pages, --numstat
should not abbreviate the path names;
--numstat
Similar to --stat, but shows number of added and deleted lines in decimal notation and pathname without abbreviation, to make it
more machine friendly. For binary files, outputs two - instead of saying 0 0.
Closing out since we can't do much here besides suggest --numstat
if we detect a .../
pathname, and I'd be worried about that being noisy. Do you think that's worth adding?
from pathpicker.
I ran into this error the very first time I tried fpp and spent a few min trying to figure it out so I imagine the hint would be pretty useful. Especially if we are sure that "..." is only used to indicate truncation and not a valid path (... is technically valid).
Could just put a note about the --stat issue in the readme, since --stat is the example used in the demo.
from pathpicker.
Yeah lets at least do the readme thing. I'll see what I can do in the meantime though, since it is pretty confusing. ideally we actually output an error...
from pathpicker.
getting there...
from pathpicker.
^^ alright that should be a huge improvement
from pathpicker.
Related Issues (20)
- Allow configuring keyboard controls
- Command mode is broken in latest master HOT 1
- fpp-git on AUR is quite outdated HOT 2
- Feature Request: Make man page easier to read, put each flag in its own line. HOT 5
- Filename within `#` cannot be pick
- The way of determining shell is not reliable.
- Demo videos in homepage not loading on mobile HOT 2
- Issue and PR templates HOT 2
- Skip the `F` key in quick select mode
- Problems with paths with spaces in them
- New release before EOY? HOT 6
- Support for git diffs
- Standalone Executable File
- fpp not opening files in $EDITOR HOT 7
- Infinite loop when selecting entry with certain width relative to window width HOT 1
- Release 0.9.5 but fpp --version says 0.9.2 HOT 1
- feature request: open files in vim tab pages
- chore: use pre-commit hook
- ci: update versions and add `paths-ignore`
- macOS Python segfault HOT 1
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 pathpicker.