- Корректный вывод пути файла/директории при вызове status

- Добавлен вывод секунд при вызове info
This commit is contained in:
Alexander Zhirov 2025-05-30 19:07:09 +03:00
parent 8a64320214
commit 552b635b59
Signed by: alexander
GPG key ID: C8D8BE544A27C511

View file

@ -131,7 +131,7 @@ class Snag {
} }
writeln("The following list of files requires backup:"); writeln("The following list of files requires backup:");
result.output.split('\n')[0..$-1].map!(e => result.output.split('\n')[0..$-1].map!(e =>
e.strip.split e.strip.splitByFirstSpace
).each!(e => ).each!(e =>
writefln("\t%s\t/%s", gitStatus(e[0], true), e[1]) writefln("\t%s\t/%s", gitStatus(e[0], true), e[1])
); );
@ -250,7 +250,7 @@ class Snag {
[ [
"log", "log",
"--all", "--all",
"--date=format:%Y.%m.%d %H:%M", "--date=format:%Y.%m.%d %H:%M:%S",
"--pretty=" ~ format "--pretty=" ~ format
], ],
"Failed to retrieve the list of snapshots" "Failed to retrieve the list of snapshots"