1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 03:32:42 +01:00
phorge-phorge/src/applications/diffusion
epriestley 0e28105ff7 Further correct and disambigutate ref selectors passed to Git on the CLI
Summary:
Ref T13589. In D21510, not every ref selector got touched, and this isn't a valid construction in Git:

```
$ git ls-tree ... -- ''
```

Thus:

  - Disambiguate more (all?) ref selectors.
  - Correct the construction of "git ls-tree" when there is no path.
  - Clean some stuff up: make the construction of some flags and arguments more explicit, get rid of a needless "%C", prefer "%Ls" over acrobatics, etc.

Test Plan: Browsed/updated a local Git repository. (This change is somewhat difficult to test exhaustively, as evidenced by the "ls-tree" issue in D21510.)

Maniphest Tasks: T13589

Differential Revision: https://secure.phabricator.com/D21511
2021-01-20 12:07:14 -08:00
..
application Remove the "Graph" view as a dedicated repository view 2020-08-12 08:59:16 -07:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
conduit Further correct and disambigutate ref selectors passed to Git on the CLI 2021-01-20 12:07:14 -08:00
config Remove "metamta.*.subject-prefix" options 2019-01-17 19:18:50 -08:00
controller Fix isValidGitShallowCloneResponse 2020-10-30 13:46:24 -07:00
data Make "CommitData" wrap and persist a "CommitRef" record 2020-09-15 17:36:40 -07:00
document Add a view option to disable blame in Diffusion and fix some view transition bugs 2018-04-30 15:32:23 -07:00
doorkeeper Remove "metamta.*.subject-prefix" options 2019-01-17 19:18:50 -08:00
edge Allow revisions to revert commits and one another, and commits to revert revisions 2018-02-02 08:25:58 -08:00
editfield Assign RepositoryIdentity objects to commits 2018-05-31 07:28:23 -07:00
editor Replace "loadUnsubmittedInlineComments()" with a modern "DiffQuery" 2020-05-07 16:11:02 -07:00
engine Further correct and disambigutate ref selectors passed to Git on the CLI 2021-01-20 12:07:14 -08:00
engineextension Show repository information (and use repository identities) in commit hovercards 2019-10-31 09:58:20 -07:00
exception Filter and reject "--config" and "--debugger" flags to Mercurial in any position 2017-11-10 08:42:07 -08:00
garbagecollector Support ID-based repository URIs, and canonicalize repository URIs 2016-02-18 09:56:28 -08:00
gitlfs Fix a missing getSSHUser() callsite 2018-01-31 15:34:12 -08:00
harbormaster Pass commit authorship information to Buildkite 2018-08-27 12:52:11 -07:00
herald Fix an issue where Herald rules could fail to evaluate at post-commit time 2020-02-03 05:09:43 -08:00
identity Add a "--dry-run" flag to "bin/repository rebuild-identities" 2019-11-19 12:38:20 -08:00
management When "Fetch Refs" are configured for a repository, highlight the "Branches" menu item in the Diffusion Management UI 2019-11-07 16:28:33 -08:00
panel Add icons to Settings 2019-01-23 13:41:41 -08:00
protocol Add some additional patterns to the "filter Mercurial --debug output" list 2020-07-09 10:50:13 -07:00
query Further correct and disambigutate ref selectors passed to Git on the CLI 2021-01-20 12:07:14 -08:00
ref Allow repository service lookups to return an ordered list of service refs 2019-09-03 10:05:40 -07:00
relationships Convert all standard relationship-editing actions to modern Relationships code 2016-06-29 11:24:52 -07:00
remarkup Add a "{src ...}" Remarkup rule to provide a more flexible way to reference source files in Diffusion 2019-05-21 13:12:28 -07:00
request Recognize self-URI links to Diffusion files and give them special rendering behavior 2019-05-21 13:07:37 -07:00
response Implement a Git LFS server which supports no operations 2016-03-17 08:08:43 -07:00
searchfield Assign RepositoryIdentity objects to commits 2018-05-31 07:28:23 -07:00
ssh Generalize repository proxy retry logic to writes 2019-09-03 12:34:10 -07:00
symbol Provide character position information to symbol queries 2018-01-26 13:01:57 -08:00
typeahead Assign RepositoryIdentity objects to commits 2018-05-31 07:28:23 -07:00
view Fix an issue where known Subversion commits are incorrectly shown as "Discovering..." 2020-09-17 13:55:47 -07:00
worker Prevent "Differential Revision: ..." from counting as a mention in commit messages 2019-05-22 16:22:01 -07:00
xaction Respect repository identities when selecting author vs auditor actions 2019-06-17 13:56:38 -07:00
DiffusionCommitAuditStatus.php Enrich "diffusion.commit.search" with identity, status, and message information 2018-09-12 12:45:44 -07:00
DiffusionLintSaveRunner.php Continue cleaning up queries in the wake of changes to "%Q" 2018-11-16 12:49:44 -08:00