diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-03-05 21:54:32 -0500 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-03-05 21:54:32 -0500 |
| commit | 45d5cbb70b7120a1a9c8cfac81d8ae8748d12815 (patch) | |
| tree | b41fb687f44bae6bc34f5faf57947b6a281dc740 | |
| parent | 5bd544a6cb88b10d477dd24b956bc7ceddeb706b (diff) | |
| download | stasis-45d5cbb70b7120a1a9c8cfac81d8ae8748d12815.tar.gz | |
Add TODOs
| -rw-r--r-- | src/lib/core/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/core/utils.c b/src/lib/core/utils.c index 142e2b8..e106193 100644 --- a/src/lib/core/utils.c +++ b/src/lib/core/utils.c @@ -376,6 +376,7 @@ char *git_describe(const char *path) { return NULL; } + // TODO: Use `-C [path]` if the version of git installed supports it FILE *pp = popen("git describe --first-parent --long --always --tags", "r"); if (!pp) { return NULL; @@ -401,6 +402,7 @@ char *git_rev_parse(const char *path, char *args) { return NULL; } + // TODO: Use `-C [path]` if the version of git installed supports it sprintf(cmd, "git rev-parse %s", args); FILE *pp = popen(cmd, "r"); if (!pp) { |
