1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

allow submodule init and show submodule diff with a prefix

This commit is contained in:
Jesse Duffield
2020-10-01 08:18:16 +10:00
parent f3be2b3e68
commit da3e00823f
12 changed files with 101 additions and 102 deletions

View File

@ -35,7 +35,7 @@ func (c *GitCommand) UnstageAll() error {
// UnStageFile unstages a file
func (c *GitCommand) UnStageFile(fileName string, tracked bool) error {
command := "git rm --cached %s"
command := "git rm --cached --force %s"
if tracked {
command = "git reset HEAD %s"
}