@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Stop "git blame" from printing "^" markers on root repository commits

Summary: Depends on D19391. Ref T13126. See that task for some details on what's going on here.

Test Plan:
- Viewed a file which includes lines that were added during the first commit to the repository.
- Before D19391: fatal.
- After D19391: blank.
- After this patch: accurate blame information.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13126

Differential Revision: https://secure.phabricator.com/D19392

+5 -1
+5 -1
src/applications/diffusion/query/blame/DiffusionGitBlameQuery.php
··· 7 7 8 8 $commit = $request->getCommit(); 9 9 10 + // NOTE: The "--root" flag suppresses the addition of the "^" boundary 11 + // commit marker. Without it, root commits render with a "^" before them, 12 + // and one fewer character of the commit hash. 13 + 10 14 return $repository->getLocalCommandFuture( 11 - '--no-pager blame -s -l %s -- %s', 15 + '--no-pager blame --root -s -l %s -- %s', 12 16 $commit, 13 17 $path); 14 18 }