{"action":"created","issue":{"url":"https://api.github.com/repos/jonas/tig/issues/211","labels_url":"https://api.github.com/repos/jonas/tig/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/jonas/tig/issues/211/comments","events_url":"https://api.github.com/repos/jonas/tig/issues/211/events","html_url":"https://github.com/jonas/tig/issues/211","id":20804051,"number":211,"title":"append mode in status view","user":{"login":"Avinash-Bhat","id":1468910,"avatar_url":"https://avatars.githubusercontent.com/u/1468910?v=3","gravatar_id":"","url":"https://api.github.com/users/Avinash-Bhat","html_url":"https://github.com/Avinash-Bhat","followers_url":"https://api.github.com/users/Avinash-Bhat/followers","following_url":"https://api.github.com/users/Avinash-Bhat/following{/other_user}","gists_url":"https://api.github.com/users/Avinash-Bhat/gists{/gist_id}","starred_url":"https://api.github.com/users/Avinash-Bhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avinash-Bhat/subscriptions","organizations_url":"https://api.github.com/users/Avinash-Bhat/orgs","repos_url":"https://api.github.com/users/Avinash-Bhat/repos","events_url":"https://api.github.com/users/Avinash-Bhat/events{/privacy}","received_events_url":"https://api.github.com/users/Avinash-Bhat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jonas/tig/labels/Status+and+staging","name":"Status and staging","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2013-10-10T12:36:15Z","updated_at":"2015-01-15T14:14:48Z","closed_at":null,"body":"While editing a commit in tig, it is not apparent what the end commit will be if we are to append the edits. So it's better to have an append mode in the status view.\r\n\r\nOnce the append mode is activated, tig should show the diff with `HEAD`'s parent. Activating the commit keybinding will activate <del>`commit -a`</del> `commit --amend` instead of `commit`."},"comment":{"url":"https://api.github.com/repos/jonas/tig/issues/comments/70090695","html_url":"https://github.com/jonas/tig/issues/211#issuecomment-70090695","issue_url":"https://api.github.com/repos/jonas/tig/issues/211","id":70090695,"user":{"login":"CodeMan99","id":6373201,"avatar_url":"https://avatars.githubusercontent.com/u/6373201?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeMan99","html_url":"https://github.com/CodeMan99","followers_url":"https://api.github.com/users/CodeMan99/followers","following_url":"https://api.github.com/users/CodeMan99/following{/other_user}","gists_url":"https://api.github.com/users/CodeMan99/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeMan99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeMan99/subscriptions","organizations_url":"https://api.github.com/users/CodeMan99/orgs","repos_url":"https://api.github.com/users/CodeMan99/repos","events_url":"https://api.github.com/users/CodeMan99/events{/privacy}","received_events_url":"https://api.github.com/users/CodeMan99/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T14:14:48Z","updated_at":"2015-01-15T14:14:48Z","body":"I do `git rebase -i HEAD~2` on the command line. While tig is great, it's workflow is simple. If you want a direct feature of git, use git.\r\n\r\nFor the original problem I still suggest binding something to `git diff --staged %(commit)`. This will cover all use cases for `--staged`:\r\n 1. See only staged changes - select the HEAD commit in main view.\r\n 2. See all the changes if you were to `commit --amend` - select the HEAD^ commit in the main view.\r\n 3. See if it's reasonable to squash the index into two or more previous commits - select the HEAD~(N) commit you don't want to include."}}