[libvirt] [PATCH] remove daemon/probes.h from .gitignore

Eric Blake eblake at redhat.com
Thu Mar 8 21:59:28 UTC 2012


On 03/08/2012 02:53 PM, Laine Stump wrote:
> The file daemon/probes.h used to be generated as part of a build, but
> is no longer used. However, a stale copy of it lying around could
> cause a build to fail. Removing it from .gitignore will make it more
> likely someone will notice that they have it lying around.
> ---
> 
> Although this is a very simple change, I haven't used the trivial rule
> to push it, just to make sure everyone notices it, and nobody
> accidentally adds the file to git with "git add .".

If you have a long-lived tree, or plan on swapping to old commits prior
to the point where we renamed things, I recommend doing:

echo /daemon/probes.h >> .git/info/exclude

then you will be immune from 'git add .' accidentally re-adding it.

Fresh checkouts are immune, and with this message serving as notice, I
think we're okay.

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120308/a7bce7c2/attachment-0001.sig>


More information about the libvir-list mailing list