[PATCH] RFC Optionally handle symbolic links as copies

2012-12-05 Thread Robin Rosenberg
If core.symlinks is set to copy then symbolic links in a git repository will be checked out as copies of the file it points to. This allows repos containing symbolic links to not only be checked out, but also that the linked content may be used on OS:es and filesystems that do not support symbolic

Re: [PATCH] RFC Optionally handle symbolic links as copies

2012-12-12 Thread Michael J Gruber
Robin Rosenberg venit, vidit, dixit 06.12.2012 02:23: > > > - Ursprungligt meddelande - >> Robin Rosenberg writes: >> >>> If core.symlinks is set to copy then symbolic links in a git >>> repository >>> will be checked out as copies of the file it points to. >> >> That all sounds nice on

Re: [PATCH] RFC Optionally handle symbolic links as copies

2012-12-12 Thread Robin Rosenberg
- Ursprungligt meddelande - > Robin Rosenberg venit, vidit, dixit 06.12.2012 02:23: > > > > > > - Ursprungligt meddelande - > >> Robin Rosenberg writes: > >> > >>> If core.symlinks is set to copy then symbolic links in a git > >>> repository > >>> will be checked out as copies

Re: [PATCH] RFC Optionally handle symbolic links as copies

2012-12-12 Thread Junio C Hamano
Robin Rosenberg writes: > I want the copy on checkout. The intent is to change things and > then commit. That largely depends on what purpose each symlink is used for in the project. Suppose you have a symlink A and another symlink X in the project, where A points at another path B inside the w

Re: [PATCH] RFC Optionally handle symbolic links as copies

2012-12-05 Thread Junio C Hamano
Robin Rosenberg writes: > If core.symlinks is set to copy then symbolic links in a git repository > will be checked out as copies of the file it points to. That all sounds nice on surface when the primary thing you care about is to fetch and check out other people's code and extract it to the wo

Re: [PATCH] RFC Optionally handle symbolic links as copies

2012-12-05 Thread Robin Rosenberg
- Ursprungligt meddelande - > Robin Rosenberg writes: > > > If core.symlinks is set to copy then symbolic links in a git > > repository > > will be checked out as copies of the file it points to. > > That all sounds nice on surface when the primary thing you care > about is to fetch an

Re: [PATCH] RFC Optionally handle symbolic links as copies

2012-12-05 Thread Johannes Sixt
Am 12/5/2012 23:46, schrieb Robin Rosenberg: > - git status - when do we report a diff. > - After checkout we should probably not Are you saying that it should be ignored that the index records a symbolic link, but the worktree contains a regular file and that the regular file does not even

Re: [PATCH] RFC Optionally handle symbolic links as copies

2012-12-06 Thread Robin Rosenberg
- Ursprungligt meddelande - > Am 12/5/2012 23:46, schrieb Robin Rosenberg: > > - git status - when do we report a diff. > > - After checkout we should probably not > > Are you saying that it should be ignored that the index records a > symbolic > link, but the worktree contains a reg