Merge "Make download patchset filename match link on UI"

This commit is contained in:
David Pursehouse
2016-08-12 02:23:13 +00:00
committed by Gerrit Code Review

View File

@@ -167,7 +167,7 @@ public class GetPatch implements RestReadView<RevisionResource> {
private static String fileName(RevWalk rw, RevCommit commit)
throws IOException {
AbbreviatedObjectId id = rw.getObjectReader().abbreviate(commit, 8);
AbbreviatedObjectId id = rw.getObjectReader().abbreviate(commit, 7);
return id.name() + ".diff";
}
}