mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
support unstaging
This commit is contained in:
parent
9ab8a9b970
commit
d5ef38a5a0
2 changed files with 1 additions and 3 deletions
|
|
@ -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 a new issue