Files
gerrit/gerrit-server/src/main/java/com/google/gerrit/server
Patrick Hiesel 38667d4f51 Add parent parameter to GetContent
PolyGerrit has a hard time showing the diff view for binary files like
images. To get the base, it has to request it separately using the
parent commit SHA1, which is expensive.

This commit adds a 'parent' parameter to GetContent in the same way that
it is done for DownloadContent. This way, PolyGerrit can use the same
endpoint and avoid expensive permission checks since users who can see a
change are also allowed to see the base commit.

Change-Id: Id6b4d0ea994282d9b4942f9ec1a8f4071a1064b1
2017-05-05 15:43:44 +02:00
..
2017-04-28 14:37:35 +02:00
2017-04-12 15:41:55 +09:00
2017-04-02 08:15:15 +00:00
2017-05-05 15:43:44 +02:00
2017-04-02 08:15:15 +00:00
2017-04-02 08:15:15 +00:00