[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#594274: debian-policy: Don't track generated README documents in VCS



On Wed, 2010-08-25 at 14:28 +1000, Ben Finney wrote:
> On 25-Aug-2010, Ben Finney wrote:
> > However, the VCS repository also contains the rendered documents
> > themselves. Those should not be tracked in VCS; instead, they should
> > be generated from source as needed.
> 
> I couldn't find a way to tell Git “these files are removed from the
> repository, propagate that fact to other repositories”. (Git doesn't
> seem to track file removal as such, making me wonder if it's even
> possible to do this in a robust way with Git.)
> 
> So attached is a Bazaar diff output, that hopefully contains enough
> information for someone more knowledgeable about Git to do the right
> thing.


git rm directory/file.name
git commit

Of course if you've already removed the files it is less obvious.

:-)
					Andrew.

-- 
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com                            +64(272)DEBIAN
            You will be traveling and coming into a fortune.
------------------------------------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: