alex / alex/pyvcs

git author is the committer

Offen
#14 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
128
Forks
11
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

In git.py you're doing:

```
return Commit(commit.id, commit.committer,
datetime.fromtimestamp(commit.commit_time), commit.message, files,
lambda: generate_unified_diff(self, files, parent, commit.id))
```

But this sets the author of the commit to the committer, which isn't always the case. It should be:

```
return Commit(commit.id, commit.author,
datetime.fromtimestamp(commit.commit_time), commit.message, files,
lambda: generate_unified_diff(self, files, parent, commit.id))
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.