Comments (15)
Maybe listing only available commands in commit popup could avoid useless issues and make things clearer to the user.
I also noticed this problem. After #131 is merged this is fixed.
from neogit.
Toggling a flag in the commit popup doesn't seem to do anything, or I'm misunderstanding what pressing
tab
on one of those lines means.
Nvim nightly / neogit up-to-date
Tabs on an option works for me, same if I type -u
for upstream for exemple
from neogit.
Ah, sorry, I was thrown off by the trailer not being there while editing, as if I'd run git commit -s
on the command line. I do see that line in the command history and the trailer in the commit with git show
. I must have been mistaken before when I thought it was missing. Thanks for the help!
from neogit.
When trying to do a commit using the verbose flag -v
, there is no inline diff of the files that are about to be committed.
Also is it possible to set defaults for the commit popup? I like doing commits with the -v
and -s
flags and having to press them every time can get annoying.
from neogit.
Hi !
As a newcomer I was about to fill an issue because I tried to "Fixup" a commit in the previous one but nothing happened when after "c" I hit "f" (same for f/s/S).
I though this was bug or me not being smart enough to understand how to do a fixup. I first asked on r/neovim and I've been told to fill an issue so that I and other people in the same situation could benefit from the answer.
But now that I see this issue I can see that Fixup/Squash/etc is not possible yet. Maybe listing only available commands in commit popup could avoid useless issues and make things clearer to the user.
I've just switched from fugitive cause I really love the way Neogit works, so thank you :)
from neogit.
Toggling a flag in the commit popup doesn't seem to do anything, or I'm misunderstanding what pressing tab
on one of those lines means.
from neogit.
@hdonnay can you give me an example?
from neogit.
On neogit 3226b98
and neovim 0.5.0 (from Fedora 34) hitting the -s
(signoff) toggle results in a message where the sign-off trailer is not present.
from neogit.
@hdonnay I cannot reproduce this. If you open your command history, does it have the following line?
git commit --file=.git/NEOGIT_COMMIT_EDITMSG --signoff
from neogit.
Hey, really enjoying this functionality. :)
I noticed one inconsistency though: when committing through :Neogit commit
, I usually don't see a list of staged files etc to provide context for the commit message – but sometimes it appears. Committing via the UI at :Neogit
always produces the list.
from neogit.
I usually don't see a list of staged files etc to provide context for the commit message
We are using the output of git commit --dry-run
for that. I haven't reproduced this yet. If you encounter this again try running the command and see whether it includes the diff.
from neogit.
I haven't encountered the error at all today, so perhaps one of your recent commits fixed it? :)
Thank you for the amazing plugin! Using it daily.
from neogit.
Not sure if its right place but its related. I don't get context for commit either, but only sometimes, not sure what it depends on, is all right in some projects in others its not.
What I can tell for sure is that when it doesn't work git commit --dry-run
returns Error 128 in Neogit command log (after checking with $
). Error 128 is fatal: this operation must be run in a work tree
. When I run it manually :execute('!cd ' . getcwd() . ' && git commit --dry-run')
it runs fine.
It looks like Neogit sometimes run this command outiside git tree.
from neogit.
@pbogut can you create a seperate issue for this? Thank you for finding a problem 👍
from neogit.
@TimUntersberger I've tried to reproduce it with minimal config and it looks like it was my config. Sorry for bothering you. I will try to find out which part of my config was causing the issue and if it's not me being dumb (unlikely) I will create issue.
from neogit.
Related Issues (20)
- `attempt to compare nil with number` when staging via visual-lines selection HOT 1
- Neogit showing incorrect/duplicate data in status buffer HOT 11
- Neogit starts producing errors when calling `neogit.open` twice from different `pwd`, OR when using a zsh terminal that runs the `powerlevel10k` theme
- regression: using neogit with external prompt for SSH freezes neovim HOT 4
- Opening the diff to a commit results in an error HOT 1
- regression in `:Neogit cwd=<cwd>` HOT 5
- Override palette in config HOT 1
- Status - Mapping of `o` is broken now HOT 1
- `use_default_keymaps = false` does not do anything HOT 1
- Setting a hotkey to `false` errors out at startup
- Neogit fails to start when an untracked file name is just a number
- Some neogit buffers break `statuscolumn` HOT 1
- Can't handle `typechange`
- Chevron rendering issues? HOT 1
- exception when initing a new repo (windows + wsl) HOT 1
- Unnamed buffers left in buffer list after closing Neogit
- Fails to parse diffs with submodule changes HOT 1
- "Go to file" is not working HOT 12
- Quitting a Neogit tab should focus previously focused tab HOT 1
- Cannot close last window
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 neogit.