RFC: Initial git save format

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Fri Mar 7 10:45:08 PST 2014


On Fri, 7 Mar 2014, Tomaz Canabrava wrote:
> On Fri, Mar 7, 2014 at 11:34 AM, Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com<mailto:cristian.ionescu-idbohrn at axis.com>> wrote:
> > On Fri, 7 Mar 2014, Tomaz Canabrava wrote:
> > >
> > > #define LIBGIT2_VER_MAJOR 0
> > > #define LIBGIT2_VER_MINOR 20
> >
> > Debian has a 0.19.0-2 package in 'experimental', which means
> > unavailable for 'unstable', 'testing', 'stable'.  So most people
> > will need to build it locally.
>
> what this has to do what I asked? ._.

Sorry about that.  Didn't mean to hijak the thread.  Should have done
that in a new thread.

Nevertheless, that change came with the:

commit b31ebfbc666202fb576f7eb406d7a699134da09d
Author: Ben Straub <bs at github.com>
Date:   Mon Jan 27 14:12:29 2014 -0800

    Add reflog params to git_branch_create

and that's somewhere after v0.20.0.

$ git show -U5 b31ebfbc666202fb576f7eb406d7a699134da09d -- src/branch.c
...
 int git_branch_create(
        git_reference **ref_out,
        git_repository *repository,
        const char *branch_name,
        const git_commit *commit,
-       int force)
+       int force,
+       const git_signature *signature,
+       const char *log_message)
 {

By the way, does anyone know how to find out which tag a commit object
belongs to?


Cheers,

-- 
Cristian


More information about the subsurface mailing list