Some tweaks for magit

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>