Merge branch 'fix'
* fix: checkout: fix dirty-file display.
This commit is contained in:
commit
29cd1fa451
@ -165,8 +165,10 @@ else
|
|||||||
exit 0
|
exit 0
|
||||||
)
|
)
|
||||||
saved_err=$?
|
saved_err=$?
|
||||||
test "$new" = "$old" ||
|
if test "$saved_err" = 0
|
||||||
git diff-index --name-status "$new"
|
then
|
||||||
|
test "$new" = "$old" || git diff-index --name-status "$new"
|
||||||
|
fi
|
||||||
(exit $saved_err)
|
(exit $saved_err)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user