From mboxrd@z Thu Jan 1 00:00:00 1970 From: OTRS Notification Master Date: Mon, 12 Feb 2007 20:00:04 +0100 Subject: [U-Boot-Users] [DNX#2007021242000016] [PATCH] tools/setlocalversion test for git and .gi [...] Message-ID: <1171306804.845224.732107561@castor.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello list, inside the automatic U-Boot patch tracking system a new ticket [DNX#2007021242000016] was created: > This patch adds commands to tools/setlocalversion to test for a git > executable and for a .git directory before running 'git name-rev'. If > it finds this condition it will return the string '-unknown' to the > calling program. > > Running git without a .git directory causes a the build to hang in the > make version step with the git program stopped like so > $ ps -x | grep git > 13750 pts/1 S 0:00 /bin/sh /usr/bin/git rev-parse --verify HEAD > > Our particular reason for not having a .git directory is that we use > CVS as our standard internal source control. (Machine gets admin'd by > someone and backed up nightly), so we have a git pull that we > periodically import into CVS as a vendor branch. I think this patch > would still be useful for vendors who distribute their source tree to > end users who may or may not have git (and those who make tar files > and forget hidden directories ;-) > > Signed-off-by: Andrew Dyer > -- > Hardware, n.: > The parts of a computer system that can be kicked. Your U-Boot support team