aboutsummaryrefslogtreecommitdiff
path: root/include/utils.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-02-18 10:00:47 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-02-18 10:01:27 -0500
commit04e0835f29b6d21e8491ba6f35092f1ab860263d (patch)
tree5de89e718e62cdb6d6bddea7b57a68a3a101e176 /include/utils.h
parentc9516dffaf28447b317bae080bdf79b5bb7dea5e (diff)
downloadstasis-04e0835f29b6d21e8491ba6f35092f1ab860263d.tar.gz
Extract git repository information
* First pass; this will eventually be used to rewite exact commit refs in YAML delivery files
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h
index f0400fb..d32a123 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -33,6 +33,7 @@ char *find_program(const char *name);
int touch(const char *filename);
int git_clone(struct Process *proc, char *url, char *destdir, char *gitref);
char *git_describe(const char *path);
+char *git_rev_parse(const char *path, char *args);
int path_store(char **destptr, size_t maxlen, const char *base, const char *path);
#define OMC_MSG_SUCCESS 0