Fwd: git diff - howto exclude dir from diff?

From: Jan III Sobieski
Date: Thu Sep 09 2010 - 07:40:22 EST


Maybe someone on LKML knows the answer?

---------- Forwarded message ----------
From: Jan III Sobieski <jan3sobi3ski@xxxxxxxxx>
Date: 2010/9/6
Subject: git diff - howto exclude dir from diff?
To: git@xxxxxxxxxxxxxxx


Hi,

I wonder if it's possible to exclude a dir from the diff. I want to
get some diffstats from Linux tree

git diff v2.6.35..v2.6.36-rc3 --stat

but without drivers/staging/ dir. Is it possible?

Regards,
Jan

--
Jan III Sobieski



--
Jan III Sobieski
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/