Git Support ready-ness

Aleix Pol aleixpol at kde.org
Fri Sep 3 11:56:15 UTC 2010


On Fri, Sep 3, 2010 at 8:39 AM, Andreas Pakulat <apaku at gmx.de> wrote:

> On 03.09.10 04:07:54, Aleix Pol wrote:
> > On Fri, Sep 3, 2010 at 12:32 AM, Andreas Pakulat <apaku at gmx.de> wrote:
> >
> > > On 02.09.10 22:46:15, David Nolden wrote:
> > > > I think we don't have the ressources to maintain a git plugin that
> > > > works with many versions, so we should simply go the version-check
> way
> > > > (it could be checked when kdevelop decides whether a directory is
> > > > controlled by git, it could always return false and do a warning on
> > > > the command-line if the version is too old). Personally I can solve
> > > > this for myself by doing a _local_ installation of a current git
> > > > version.
> > >
> > > As I just discussed with Aleix on irc, thats not going to be a
> > > good-enough solution as at least --porcelain for git status was only
> > > implemented in 1.7 (which was first released end of February 2010).
> IMHO
> > > we do need to support git versions that are 1.5-2 years old which means
> > > everything since 1.6.0.1 (roughly) and hence we have to be able to
> parse
> > > --porcelain as well as --short output for git status.
> > >
> > > Other git-parameters things will also need to be checked for being
> > > available in 1.6.0.
> >
> > I worked on that for a while, it quite a loss of time though. Before 1.7
> git
> > status was something like git commit without committing, so it had just
> that
> > information.
>
> But the code that was there 9 months ago must have worked somehow, after
> all 1.7 was released at the end of February...
>
No, i changed that, before it was using ls-files, it didn't distinguish
between added and modified files, for instance.


>
> > I think that for us it's quite important to use the machine-readable
> > commands, so I'd vote for forcing git 1.7.
>
> IMHO thats not an option, its simply too new.
>
> Andreas
>
> --
> Are you making all this up as you go along?
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100903/3d08dc4b/attachment.html>


More information about the KDevelop-devel mailing list