Comments (2)
You are definitely not doing anything wrong, I'd also expect this to work. This also happens when trying to drop a few lines from a newly added file using a custom patch.
I'll see if I can find a way to work around it.
from lazygit.
Here's a PR that fixes this: #3684. It needs thorough testing, as it is mucking with git internals even more than the custom patch mechanism already does. For example, I almost broke the feature of moving parts of an added file to an earlier commit.
@sedmicha If you can build from source, it would be great if you could test it.
from lazygit.
Related Issues (20)
- Custom pager(delta) not support in single file path HOT 1
- Support regex or globs for MainBranches config HOT 2
- SIGSEGV github.com/jesseduffield/lazygit/pkg/commands/models.(*RemoteBranch).FullName(0xc0009afc20?)
- SelectedSubCommit is nil in the commits tab HOT 2
- Text background color turns blue when unstaging chunks HOT 2
- Full tag message display
- Truecolors not working inside tmux HOT 3
- Can I change delay after hitting Escape key? HOT 3
- Search returns no matches for any keyword HOT 1
- Add command to the commit message menu to paste a message from the clipboard
- New branch track upstream is the same as the branch that did the checkout from HOT 5
- Deleting the .git folder while lazygit is open causes it to crash
- Is it possible to start lazygit with filter (e.g. `-f`) and show diff panel?
- The branch name is garbled HOT 2
- Having "cmd.exe" in your directory will prevent lazygit from opening.
- Use MatchString before ReplaceAllString in HandleCommitPress
- Error when deleting merge commit HOT 2
- Allow replacing close event to custom commands HOT 4
- when making a gpg signed commit, lazygit minimizes and you are shown the output of the git commit command and asked to press enter to continue 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 lazygit.