Subject: Re: Copying Git repository from Linux to Windows.

From: Johannes Sixt <[email-masked]>
Date: Thu, 16 Jun 2011 10:50:02 +0200

Am 6/16/2011 5:33, schrieb viresh kumar:
> And i wanted just linux source on windows, i will not be creating any patches from
> windows. Just needed code for reference.

If you only want to peek into the files, you don't need the files checked
out. Just have them in a bare repository and use, e.g.,

  git show master:mm/vmalloc.c

You can also use a sparse checkout to omit the questionable files from the
checkout. See man git-read-tree.

-- Hannes