Re: [Vim-latex-devel] Can I clone just the vimfiles directory?
On Mon, Mar 07, 2011 at 03:23:44PM -0700, Jeremy Conlin wrote: On Mon, Mar 7, 2011 at 3:20 PM, Till Maas opensou...@till.name wrote: $ cd $HOME $ git clone git://vim-latex.git.sourceforge.net/gitroot/vim-latex/vim-latex $ mv .vim .vim_old $ ln -s vim-latex/vimfiles/ .vim This works fine unless I have other customization files (which I do) which reside in .vim. You have the same problem with subversion or am I missing something? Regards Till pgpDx38mgwkeF.pgp Description: PGP signature -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d___ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
Re: [Vim-latex-devel] Can I clone just the vimfiles directory?
On Tue, Mar 8, 2011 at 12:18 PM, Ted Pavlic t...@tedpavlic.com wrote: This works fine unless I have other customization files (which I do) which reside in .vim. You have the same problem with subversion or am I missing something? Isn't it the case that in SVN, you can checkout (as opposed to clone or pull) a subdirectory on top of an existing directory? That way you could have non-managed files in the directory, and only the managed ones would get updated. With Subversion, you can have unversioned files inside of a versioned directory. When updating to the latest files in the repository, the unversioned files were untouched. I would hope this would be the same with git. Otherwise, this whole idea of keeping my ~/.vim updated to the vim-latex/vimfiles is a moot point. Jeremy -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
Re: [Vim-latex-devel] Can I clone just the vimfiles directory?
With Subversion, you can have unversioned files inside of a versioned directory. When updating to the latest files in the repository, the unversioned files were untouched. I would hope this would be the same with git. Otherwise, this whole idea of keeping my ~/.vim updated to the vim-latex/vimfiles is a moot point. In git (as with all DVCS), versioning exists at the project level and not the file level. You could certainly put unmanaged files within a git repository and never add them to the change history, but the first time you do something like 'git reset --hard' (or a similar checkout), the files you added would be in danger of being removed by git. The ideal situation would be to manage your ~/.vim directory in git and then merge a vimfiles repository from vim-latex into your .vim directory. That way you could pull vim-latex updates into your change history and then merge them (git pull provides a way to automate fetching and merging). Unfortunately, with the git repo having a vimfiles /subdirectory/, it is a little more complicated. It's possible that a local changeset on your side that moves everything from /vimfiles/ into the root directory and then gets rid of the web files might do the trick. That is, the merge with your local history should (I think?) re-move and re-delete every time. It's worth a shot (in a test ~/.vim directory), but it would be much easier if the vim-latex git repo looked like a vimfiles directory. --Ted -- Ted Pavlic t...@tedpavlic.com -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel