Problem wit Git and Ubuntu 12.04 lts: where is git-rev-parse?

Asked by Steve Page

Problem:

I was installing apache2 + webdav in order to publish and remote authenticate a Git repository;

the helper script was complaining with "Can't exec "/usr/bin/git-rev-parse""

executing "whereis git-rev-parse" on this system (Ubuntu 12.04 lts) with git, git-core, and gitweb installed, produced only a reference to a man page file.

i performed the same function on a few other machines running the same OS, which all produced similar results.

Question:

is this binary an alias or internal to the standard bash package, and i possibly have a configuration issue,
or should this binary be installed alongside the aforementioned packages...?

going forward, i plan to try and build the latest version of Git from source, and in turn see if everything works ok this way

if so, i will post a bug report, depending on what people have to say in response to my question, likewise

Thank you for your time, and any help would be greatly appreciated!

Regards,
- Steve

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Steve Page (stedor7) said :
#1

hmm

seems that the function i might be looking for, and what the helper script should possibly be using, is "git rev-parse" and not "git-rev-parse"

and if this is the case, looks like quite the silly mistake!

and, again, if this is the case, it looks like i will have to file a bug report with those who maintain the helper script which caused this confusion ^.^

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

I suggest you report a bug.

Can you help with this problem?

Provide an answer of your own, or ask Steve Page for more information if necessary.

To post a message you must log in.