We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-dirty
1 parent 6052d9e commit 67310d1Copy full SHA for 67310d1
cli/tests/test_global_opts.rs
@@ -53,6 +53,10 @@ fn test_version() {
53
let expected = [
54
"jj ?.??.?\n",
55
"jj ?.??.?-????????????????????????????????????????\n",
56
+ // Allow users of Nix to build with a dirty (uncommitted) revision
57
+ // but disallow this for release builds so that we can avoid releasing such a version
58
+ #[cfg(debug_assertions)]
59
+ "jj ?.??.?-?irty\n",
60
// This test could be made to succeed when `jj` is compiled at a merge commit by adding a
61
// few entries like "jj ?.??.?-????????????????????????????????????????-?????????????????
62
// ???????????????????????\n" here. However, it might be best to keep it failing, so that
0 commit comments