@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.

Don't show "master (branched from master)" in UI

Summary:
Ref T3462. If someone works directly on `master`, we currently show "Branch: master (branched from master)" in the UI.

Although this is sort of technically accurate, it is confusing.

Instead, just show "Branch: master" in this situation.

Test Plan: Saw "master" instead of "master (branched from master)".

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T3462

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

+1 -1
+1 -1
src/applications/differential/customfield/DifferentialBranchField.php
··· 45 45 return pht('%s (bookmark)', $bookmark); 46 46 } else if (strlen($branch)) { 47 47 $onto = $diff->loadTargetBranch(); 48 - if (strlen($onto)) { 48 + if (strlen($onto) && ($onto !== $branch)) { 49 49 return pht( 50 50 '%s (branched from %s)', 51 51 $branch,