From: Luciano Rocha Date: Tue, 15 Apr 2008 12:05:07 GMT Subject: Re: [new tool] git-project-version.sh Message-ID: <20080415120507.GB21572@bit.office.eurotux.com> In-Reply-To: <20080415113629.GA17459@denkbrett.schottelius.org> On Tue, Apr 15, 2008 at 01:36:29PM +0200, Nico -telmich- Schottelius wrote: > Hello! > > As I want to use the latest commit id in all my projects, so I know > which commit the version is based on, I wrote an extremly simple script > that is based on git-show to display only the version named > git-project-version.sh. > > You can find it in > http://unix.schottelius.org/git/git-tools.git/.git/ I couldn't clone: Cannot get remote repository information. Perhaps git-update-server-info needs to be run there? > http://unix.schottelius.org/cgi-bin/gitweb.cgi?p=git-tools.git/.git;a=summary > and more information is available on > http://nico.schottelius.org/notizbuch-blog/archive/2008/04/15/git-project-version-sh-written-versions-with-git/ I use "git describe" for this, it's more user-friendly. -- Luciano Rocha Eurotux Informática, S.A.