Indefero

Indefero Commit Details


Date:2011-01-24 04:53:24 (14 years 2 months ago)
Author:Loïc d'Anterroches
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:207eb1322d5dc99dd091b4ddc8be064aececdfc1
Parents: 296091e977a80076950399fd7ecf4adb48989365
Message:Fixed to correctly store utf-8 string in the git cache.

Changes:

File differences

src/IDF/Commit.php
154154
155155
156156
157
157
158158
159159
160160
        $commit->summary = self::toUTF8($change->title);
        $commit->fullmessage = self::toUTF8($change->full_message);
        $commit->author = $scm->findAuthor($change->author);
        $commit->origauthor = $change->author;
        $commit->origauthor = self::toUTF8($change->author);
        $commit->creation_dtime = $change->date;
        $commit->create();
        $commit->notify($project->getConf());
src/IDF/Scm/Cache/Git.php
5555
5656
5757
58
58
59
60
5961
6062
6163
            $cache->project = $this->_project;
            $cache->githash = $blob->hash;
            $blob->title = IDF_Commit::toUTF8($blob->title);
            $cache->content = $blob->date.chr(31).$blob->author.chr(31).$blob->title;
            $cache->content = IDF_Commit::toUTF8($blob->date) . chr(31)
                . IDF_Commit::toUTF8($blob->author) . chr(31)
                . IDF_Commit::toUTF8($blob->title);
            $sql = new Pluf_SQL('project=%s AND githash=%s',
                                array($this->_project->id, $blob->hash));
            if (0 == Pluf::factory(__CLASS__)->getCount(array('filter' => $sql->gen()))) {

Archive Download the corresponding diff file

Page rendered in 0.18779s using 13 queries.