mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
Merge pull request #32 from DeterminateSystems/push-kyzutzxyuwnv
Improve the "dirty" message, by clarifying what the jargon means
This commit is contained in:
commit
3c5c484e6f
1 changed files with 2 additions and 2 deletions
|
@ -393,10 +393,10 @@ struct GitInputScheme : InputScheme
|
|||
{
|
||||
if (workdirInfo.isDirty) {
|
||||
if (!settings.allowDirty)
|
||||
throw Error("Git tree '%s' is dirty", locationToArg());
|
||||
throw Error("Git tree '%s' has uncommitted changes", locationToArg());
|
||||
|
||||
if (settings.warnDirty)
|
||||
warn("Git tree '%s' is dirty", locationToArg());
|
||||
warn("Git tree '%s' has uncommitted changes", locationToArg());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue