[vlc-devel] commit: Print the changeset with --version ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Jun 3 21:23:03 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun 3 22:21:53 2009 +0300| [abfc96fabbda7ef2be163a51d0781243673771d0] | committer: Rémi Denis-Courmont
Print the changeset with --version
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=abfc96fabbda7ef2be163a51d0781243673771d0
---
src/libvlc.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index 519efa1..78a8716 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -1946,11 +1946,13 @@ static void ListModules( libvlc_int_t *p_this, bool b_verbose )
*****************************************************************************/
static void Version( void )
{
+ extern const char psz_vlc_changeset[];
#ifdef WIN32
ShowConsole( true );
#endif
- utf8_fprintf( stdout, _("VLC version %s\n"), VLC_Version() );
+ utf8_fprintf( stdout, _("VLC version %s (%s)\n"), VLC_Version(),
+ psz_vlc_changeset );
utf8_fprintf( stdout, _("Compiled by %s@%s.%s\n"),
VLC_CompileBy(), VLC_CompileHost(), VLC_CompileDomain() );
utf8_fprintf( stdout, _("Compiler: %s\n"), VLC_Compiler() );
More information about the vlc-devel
mailing list