Comments (6)
The current refs listing provided by +refs appears to be limited to refs/heads/ and
refs/tags/, and doesn't support JSON output. It would be useful to also be able to
list other refs/. Maybe +refs could default to the current listing, but could be extended
with an 'ls-remote'-style filter pattern as the path. If the JSON output could also
include the commit hash of each ref, like ls-remote, that would be perfect.
For instance, https://chromium.googlesource.com/external/msysgit/git/+refs only shows
the branches that we copy into refs/heads/ but there are actually a lot more branches
that are mirrored from upstream into refs/remotes/upstream/, so to get all upstream
branches:
https://chromium.googlesource.com/external/msysgit/git/+refs/remotes/upstream/*
or all 'master' branches (both refs/heads/ and refs/remotes/upstream/):
https://chromium.googlesource.com/external/msysgit/git/+refs/*/master
(FWIW, this is needed by some Chrome scripts which currently shell out to a local git
to run ls-remote, which prevents us from running those scripts on appengine.)
Reported by None
on 2014-02-27 09:08:40
from gitiles.
Already available with format=TEXT:
$ curl -s 'https://chromium.googlesource.com/external/msysgit/git/+refs?format=TEXT'
| grep -c refs/remotes
36
I guess we could do JSON if you really want.
Reported by None
on 2014-02-27 09:30:46
from gitiles.
Ah, thanks, I didn't try that format. That's sufficient for my purposes.
Reported by None
on 2014-02-27 09:45:11
from gitiles.
Works great. Feel free to close.
Reported by None
on 2014-02-27 10:47:57
from gitiles.
I'll leave this bug open as the description is still accurate, we have neither JSON
output nor a way to list all refs from the HTML view :)
Reported by None
on 2014-02-27 10:54:14
from gitiles.
Reported by None
on 2015-03-25 16:59:16
from gitiles.
Related Issues (20)
- markdown TOC renderer should also include at least H4-level items
- Symlink viewer renders broken link to destination
- Build impossible on Mac M1 / arm. Please upgrade bazel version HOT 1
- Gerrit cannot be returned properly after browsing code through the Gitiles plugin in Gerrit HOT 1
- Building with bazel fails with `reason: '<>' with anonymous inner classes is not supported in -source 8`
- C++14 single quote (') digit separators aren't rendered correctly in header files
- #./tools/maven/mvn.sh deploy
- https://android.googlesource.com/ the json format error HOT 3
- Add 'y' shortcut to generate permalink to commit HOT 1
- Render graph using mermaid.js in .md files HOT 1
- Unc0ver-volvo
- https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#ni HOT 1
- ok
- Ciris
- gitlies
- git clone https://gerrit.googlesource.com/gitiles HOT 1
- We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA ([login here](https://cla.developers.google.com/) to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
- Menuka Vishal
- Código de seguridad de WhatsApp de system company in master data (+52 221 199 1681)
- `text and `json` formats for a tag does not work correctly.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitiles.