<div class="gmail_quote">On Fri, Sep 3, 2010 at 12:32 AM, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 02.09.10 22:46:15, David Nolden wrote:<br>
> I think we don't have the ressources to maintain a git plugin that<br>
> works with many versions, so we should simply go the version-check way<br>
> (it could be checked when kdevelop decides whether a directory is<br>
> controlled by git, it could always return false and do a warning on<br>
> the command-line if the version is too old). Personally I can solve<br>
> this for myself by doing a _local_ installation of a current git<br>
> version.<br>
<br>
</div>As I just discussed with Aleix on irc, thats not going to be a<br>
good-enough solution as at least --porcelain for git status was only<br>
implemented in 1.7 (which was first released end of February 2010). IMHO<br>
we do need to support git versions that are 1.5-2 years old which means<br>
everything since 1.6.0.1 (roughly) and hence we have to be able to parse<br>
--porcelain as well as --short output for git status.<br>
<br>
Other git-parameters things will also need to be checked for being<br>
available in 1.6.0.<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
Good news.  Ten weeks from Friday will be a pretty good day.<br>
</font><div><div></div><div class="h5"><br>
--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</div></div></blockquote></div><br><div>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.</div><div><br>
</div><div>There's the option to use "git ls-files -t" but I think it's not verbose enough for us, if anybody knows something better, please tell me.</div><div><br></div><div>I think that for us it's quite important to use the machine-readable commands, so I'd vote for forcing git 1.7.</div>
<div><br></div><div>Anyway, good night.</div><div>Aleix</div>