barkinet / gitiles

Automatically exported from code.google.com/p/gitiles
1 stars 0 forks source link

Query by SHA-1 #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like to be able to query the git repository by SHA-1 of the object, without 
using URL surgery. This is most useful in cut and paste situations.

Original issue reported on code.google.com by ganet...@google.com on 7 Mar 2013 at 11:41

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44773109-query-by-sha-1?utm_campaign=plugin&utm_content=tracker%2F16027771&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F16027771&utm_medium=issues&utm_source=github).
GoogleCodeExporter commented 9 years ago
What do you mean by "query"? Can you give a more concrete example of what 
you're trying to do? You can already show objects directly by SHA-1, e.g.:
https://android.googlesource.com/tools/repo/+/0ce6ca9c7bc285eb644cdaacec92afca24
939841
https://android.googlesource.com/tools/repo/+show/0ce6ca9c7bc285eb644cdaacec92af
ca24939841

Original comment by dborowitz@google.com on 28 Mar 2013 at 3:21