mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-25 18:13:34 +03:00
support unstaging
This commit is contained in:
parent
9ab8a9b970
commit
d5ef38a5a0
@ -13,7 +13,7 @@ Over the last 2 years my go to GUI tool for this was [fork](https://git-fork.com
|
||||
* [x] stage files
|
||||
* [x] inspect diffs
|
||||
* [x] commit
|
||||
* [ ] allow selecting/diff index items
|
||||
* [x] allow selecting/diff index items
|
||||
* [ ] support unstaging
|
||||
* [ ] polling in thread
|
||||
* [ ] log view
|
||||
|
@ -164,8 +164,6 @@ pub fn stage_add(path: &Path) -> bool {
|
||||
pub fn stage_reset(path: &Path) -> bool {
|
||||
let repo = repo();
|
||||
|
||||
let mut index = repo.index().unwrap();
|
||||
|
||||
let reference = repo.head().unwrap();
|
||||
let obj = repo
|
||||
.find_object(
|
||||
|
Loading…
Reference in New Issue
Block a user