commit | ba9c11845043d1dacd092ffb8621bf5c1dbc765f | [log] [download] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Wed Mar 13 14:16:43 2013 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Mon Mar 18 10:12:54 2013 -0700 |
tree | 6162ad516e37cd25a67b5f32f74e793218040e65 | |
parent | dd3c3d9ea5270acd9251aeeac7e02392560ac0dc [diff] |
Add a handler for /+describe similar to "git describe" Options parallel options to "git describe", e.g. $ curl http://gitiles/repo/+describe/deadbeef?contains&all&format=JSON master~3 Only JSON and TEXT formats are supported, there is no HTML template. For now, only --contains is supported, using JGit's NameRevCommand (since "git describe --contains" calls "git name-rev" internally). Change-Id: Ia71cb546645f93eb19eac4db69103835e46ae678