Page MenuHomePhabricator

Don't link commit uri in Crumbs
ClosedPublic

Authored by chad on Feb 11 2016, 6:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 14, 1:04 AM
Unknown Object (File)
Mar 5 2024, 7:14 AM
Unknown Object (File)
Mar 5 2024, 7:14 AM
Unknown Object (File)
Feb 16 2024, 12:16 PM
Unknown Object (File)
Feb 10 2024, 10:06 PM
Unknown Object (File)
Feb 10 2024, 10:05 PM
Unknown Object (File)
Feb 10 2024, 10:04 PM
Unknown Object (File)
Feb 10 2024, 9:09 PM
Subscribers

Details

Summary

These are not needed I think? and handy for cut and paste. Fixes T7628

Test Plan

cut and paste easier from commit hash.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Don't link commit uri in Crumbs.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
epriestley edited edge metadata.

One inline. You can also mark this as fixing T7628, probably.

src/applications/diffusion/controller/DiffusionController.php
150

This can be formatCommitName($stable_commit, $local = true) to drop the rX prefix in most cases. It's unambiguous in these UIs.

This revision is now accepted and ready to land.Feb 11 2016, 6:51 PM

That is, adding $local = true should change it from showing rXabcdef to abcdef in Git and Mercurial.

You can still grab the full-context hash out of the URI so I think that's fine, even if we have some users who like copy-pasting full-context URIs.

This revision was automatically updated to reflect the committed changes.