Comments (11)
so instead of panicking it should show an expressive error now:
will roll out in next release
from gitui.
After some testing I discovered that the bug does not occur after I run git config user.name myname
. So, without a username it crashes, and with a username it works just fine. With or without an email it works, as long as it has a name.
from gitui.
Good point! Currently it is expected to have the name set. Let me look into it
from gitui.
should be fixed in 0.3.0
: https://github.com/extrawurst/gitui/releases/tag/v0.3.0
from gitui.
I did a bit more looking around, and discovered I was wrong in my most recent comment. The git behaviour is it allows a commit to be made as long as at least a user.name or user.email is provided. The author shows up as unknown <[email protected]>
if only an email is provided or name <>
if only a name is provided.
When the condition is not met it shows the *** Please tell me who you are.
message.
So, as it is right now gitui does not allow me to make a commit when git commit allows me to. Good work, by the way! :)
from gitui.
I am not sure I follow. Does the crash persist for you? Is there a different behavior that we need to look into?
from gitui.
@alistaircarscadden make sure to reopen the ticket if there is still the issue
from gitui.
The crash is fixed, and I see the menu that you showed in your screenshot. I'm considering it may be a bug that gitui does not allow a commit in the same conditions git does allow one.
The conditions are when a user.email is present, and a user.name is not. git commit works, but committing with gitui does not.
e: but I am not familliar with the internals of your program, so to you this may be the correct behaviour. I would imagine it's needing a name for some reason, but if your program is just making a call to git commit, it should work.
from gitui.
@alistaircarscadden what error does it show when trying to commit in those conditions?
from gitui.
@alistaircarscadden gitui
does not use the git cli
and you are right, what works in regular git, should be possible in gitui
. Please file a new ticket for this and please add the error message that gitui
currently returns in that case.
from gitui.
Ok! It's more complicated than I thought, I'll make an issue.
from gitui.
Related Issues (20)
- Page Up/Down buttons are not scrolling in Status and Files tabs HOT 1
- View combined directory diff / multiple files
- How to focus panes rather than move into them? HOT 2
- File autofocus fails on embed folders HOT 2
- Unable to switch tab using number row HOT 3
- show newer commits if on detached head
- PATH not respected in hooks HOT 6
- Can't fetch/pull on WSL
- listen for SIGINT signal instead of exit key bind HOT 4
- Stashing.FilesToStash window disappears after History/Blame
- add export variable for themes to used HOT 2
- Using rustls instead of openssl? HOT 4
- Syntax highlighting: Typescript files not highlighted HOT 1
- Theme file not loading on macOS HOT 3
- Add syntax highlighting options for commit titles inside the log view
- it always return to 'Status [1]' tab after editing a file from 'Files [3]' tab. any way to change it? HOT 3
- Fail to execute gitui on mac. HOT 3
- Support `fixup` workflow HOT 3
- feature request for support branch.sort
- It asked me for password before push or fetch while I'm using github-token for the git repo
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 gitui.