On 10/13/2015 09:08 PM, David Lang wrote: > On Tue, 13 Oct 2015, Roman Yeryomin wrote: > >>> >>> Would it be possible to track the revision number in an automated way >>> even >>> in a git repo? So store the r number, and automatically increment on >>> commits. Not sure if that's an option, but it seems like it might >>> address >>> the problem. >>> >> >> If a user is smart enough to commit something locally then he knows >> what he is doing and is smart enough to report the changes he made. >> It's so simple. > > I think the concern is that someone may do this and then make the > resulting images available to others to install.
One way to avoid the ambiguity of the r-number would be to use "git describe origin/master" then even if the local master branch has commits, you'd get the "upstream" revision number. But, I think it's more important to know that there have been local changes. bruno _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel