Package: git-core
Version: 1:1.5.5.4-1
Severity: wishlist
Tags: patch

Hi,

        Please find the patch below (I believe it won't break any porcelain 
above it) 
which exposes the value of GIR_REPO_VERSION (git's internal repository 
format) via --version. It will benefit the recently added to the 
dpkg-source "3.0 (git)" source format. If it changes in some incompatible way 
in the future it would be possible to identify which source package used the 
old format if that information is recorded in a header field in the .dsc 
file. Rf: #457345.

--- help.c.orig 2008-06-15 23:42:39.000000000 +0300
+++ help.c      2008-06-15 23:44:06.000000000 +0300
@@ -504,7 +504,7 @@

 int cmd_version(int argc, const char **argv, const char *prefix)
 {
-       printf("git version %s\n", git_version_string);
+       printf("git version %s (repo version %d)\n", git_version_string, 
GIT_REPO_VERSION);
        return 0;
 }



-- 
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to