Исправление diff с пустым снимком
This commit is contained in:
parent
131fbca4da
commit
a3bfab2365
2 changed files with 10 additions and 2 deletions
9
.vscode/launch.json
vendored
9
.vscode/launch.json
vendored
|
|
@ -11,7 +11,14 @@
|
|||
"name": "Build & Debug DUB project",
|
||||
"cwd": "${command:dubWorkingDirectory}",
|
||||
"program": "bin/${command:dubTarget}",
|
||||
"args": []
|
||||
"args": [
|
||||
"--config",
|
||||
"/etc/dwatch/config.json",
|
||||
"snapshot",
|
||||
"diff",
|
||||
"-p",
|
||||
"f3a3b9f9"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Debug D Program with sudo-gdb",
|
||||
|
|
|
|||
|
|
@ -326,7 +326,8 @@ public:
|
|||
Pager pager = new Pager(data.split('\n'),
|
||||
format("Изменения файла %s от %s: %s diff %s",
|
||||
snapshotMain.file, getDate(snapshotMain.created),
|
||||
snapshotMain.id.toString, snapshotRelative.id.toString
|
||||
snapshotMain.id.toString,
|
||||
snapshotRelative is null ? "пустой" : snapshotRelative.id.toString
|
||||
)
|
||||
);
|
||||
pager.render();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue