diff options
Diffstat (limited to 'lib/gall/tree.lua')
-rw-r--r-- | lib/gall/tree.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gall/tree.lua b/lib/gall/tree.lua index 6c57ee0..df8d1e4 100644 --- a/lib/gall/tree.lua +++ b/lib/gall/tree.lua @@ -83,8 +83,8 @@ function tree_method:diff_to(other) -- Generate a diff from self to other local repo = repos[self] local ok, streediff, err = repo:rawgather("diff-tree", "-r", "-M", "-C", - ((objs[self] or {}).sha) or "???", - ((objs[other] or {}).sha) or "???") + ((objs[self] or {}).sha) or "DOES_NOT_EXIST", + ((objs[other] or {}).sha) or "DOES_NOT_EXIST") if ok ~= 0 then return nil, (streediff or "") .. "\n" .. (err or "") end |