Re: [libvirt] Re: [PATCH] Add .gitignore files

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

 



James Morris <jmorris@xxxxxxxxx> wrote:
> I haven't seen these patches go in upstream.  Any chance of having them
> committed so I don't have to carry them locally ?

If they can be automatically generated from the .cvsignore ones, then how
about adding a rule to do that as well?  Then, when the .cvsignore files
change, one can type e.g., "make sync-vcs-ignore-files" to regenerate the
derived .gitignore ones.  Of course, someone would still have to commit
any changed files, but at least it's far less manual.  That would also
avoid the "No newline at end of file" warnings in your patch.

sync-vcs-ignore-files:
	find . -name .cvsignore \
	  | sed 's,\(.*\),cp \1 \1,;s,\.cvsignore$$,.gitignore,' \
	  | $(SHELL)

If too many people object to adding git-specific .ignore files,
I might take the unusual step of adding them to the git mirror.
Of course, this would break the mirror in a sense, and might
cause minor complications if the .gitignore files are added
some time later, so I'd rather not have to...

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]