summaryrefslogtreecommitdiff
path: root/.pkgr.yml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-07-11 17:51:57 +0000
committerDouwe Maan <douwe@gitlab.com>2016-07-11 17:51:57 +0000
commitef9ba9050e65f9f5572100989745b1b39f764b3b (patch)
tree7fd752c121b8a6c73c3872cc4733cacd8aececfb /.pkgr.yml
parent78a356a433f2be70ff58450b6b1d2e9b9524a9bd (diff)
parent8ee3c28bcde45e0719e0ef76731b9c92edfcddd9 (diff)
downloadgitlab-ce-ef9ba9050e65f9f5572100989745b1b39f764b3b.tar.gz
Merge branch 'single-file-diffs' into 'master'
Single file diffs Closes #14103. Related (not part of this MR): #19553. This adds a `diff_for_path` action to each place we render diffs (commit, compare, new MR, existing MR) which renders the diff for a single path. The action is always available with the same params as the 'parent' action, to make it simpler to generate the URIs. If a diff is bigger than 10 KB, it will be collapsed by default and have a data attribute added. You can then click the message or the filename to expand that diff. For expanded files, you can collapse and expand them, but they won't make any AJAX requests. ![Expand_and_collapse_diffs](/uploads/a4072029085082b85c47006f67ac531c/Expand_and_collapse_diffs.gif) See merge request !4990
Diffstat (limited to '.pkgr.yml')
0 files changed, 0 insertions, 0 deletions