diff options
author | Josh Stone <jistone@redhat.com> | 2009-03-25 17:25:06 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-03-25 17:40:26 -0700 |
commit | a5e8d632f443c6a882dcabc669236dc4798b1fd7 (patch) | |
tree | 9157ba6a3f5a4daeffdf40b8eca07a75a6476195 /util.h | |
parent | 2a8c27f6bfdf2e7962def6fc8729ebb5fb54c701 (diff) | |
download | systemtap-steved-a5e8d632f443c6a882dcabc669236dc4798b1fd7.tar.gz systemtap-steved-a5e8d632f443c6a882dcabc669236dc4798b1fd7.tar.xz systemtap-steved-a5e8d632f443c6a882dcabc669236dc4798b1fd7.zip |
Add the kernel tree's git revision to the hash
To better support kernel developers who work out of a single source
tree, this adds the git HEAD revision to our caching hash.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ void tokenize(const std::string& str, std::vector<std::string>& tokens, const std::string& delimiters); std::string find_executable(const std::string& name); const std::string cmdstr_quoted(const std::string& cmd); +std::string git_revision(const std::string& path); // stringification generics |