Add support for ruby commands

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
ruby: add support for internal ruby programs

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
request-pull: fix annotated tag check

The was just not doing anything, reporting an appropriately tagged ref
worked only by luck.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
request-pull: fix for specific branch

Wether we use a symbolic ref, or we specify the branch directly
shouldn't really matter, we would want the branch description either
way.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
request-pull: use appropriate ref

"Are you sure you pushed 'HEAD'?" doesn't say anything helpful.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
request-pull: fix exact match checking

It obviously never worked, refs don't start with '/'.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
request-pull: trivial simplification

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
request-pull: t: trivial whitespace style fixes

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
request-pull: t: add missing cat

Otherwise we wouldn't know why it failed.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
ruby: rewrite 'request-pull'

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
ruby: request-pull: rewrite perl script

Ruby can do it just fine, no need for perl.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
ruby: request-pull: trivial simplifications

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
ruby: bind setup_git_directory()

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
ruby: bind dwim_ref()

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
ruby: request-pull: use native dwim_ref()

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
ruby: bind git_config()

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
ruby: request-pull: use native git_config()

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
ruby: bind read_ref()/peel_ref()

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
ruby: bind get_sha1()

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
ruby: request-pull: simplify tag fetching

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>