diff options
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index beda3cf..d4320fb 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -2492,6 +2492,7 @@ void ungitar(simData *simd, char *sim, int count, int window, int panes, int pan | |||
2492 | for (b = 0; b < 2; b++) | 2492 | for (b = 0; b < 2; b++) |
2493 | { | 2493 | { |
2494 | char *gar = xmprintf("%s%cgit%cAR", name, bar[b], type), *gtr = xmprintf("%s/%s.tar.xz", scBackup, gar); | 2494 | char *gar = xmprintf("%s%cgit%cAR", name, bar[b], type), *gtr = xmprintf("%s/%s.tar.xz", scBackup, gar); |
2495 | char *prev = xmprintf(""); | ||
2495 | 2496 | ||
2496 | if (qfile_exist(dir)) | 2497 | if (qfile_exist(dir)) |
2497 | { | 2498 | { |
@@ -2526,7 +2527,6 @@ void ungitar(simData *simd, char *sim, int count, int window, int panes, int pan | |||
2526 | // Loop backwards through the commits, saving them as ordinary OAR files. | 2527 | // Loop backwards through the commits, saving them as ordinary OAR files. |
2527 | // The backup script should put only the file name in the commit message. | 2528 | // The backup script should put only the file name in the commit message. |
2528 | char *cmd = xmprintf("cd %s/%s; git shortlog | tail -n 2 | head -n 1 | cut -c 7- ", dir, gar); | 2529 | char *cmd = xmprintf("cd %s/%s; git shortlog | tail -n 2 | head -n 1 | cut -c 7- ", dir, gar); |
2529 | char *prev = xmprintf(""); | ||
2530 | 2530 | ||
2531 | while (true) | 2531 | while (true) |
2532 | { | 2532 | { |