Fossil

View Ticket
Login

View Ticket

2023-01-17
15:04 Closed ticket [5fb944026d]: Inconsistent diff output. plus 4 other changes ... (artifact: b4f40e9186 user: stephan)
2010-01-03
00:47 New ticket [5fb944026d]. ... (artifact: c7aebb3df3 user: anonymous)

Ticket Hash: 5fb944026d159060db71329195bf7d6d3d12d124
Title: Inconsistent diff output.
Status: Closed Type: Code_Defect
Severity: Minor Priority:
Subsystem: Resolution: Overcome_By_Events
Last Modified: 2023-01-17 15:04:09
3.20 years ago
Created: 2010-01-03 00:47:22
16.24 years ago
Version Found In: [5efb82a71a] 2010-01-01
Description:
$ fossil add hello.txt
ADDED hello.txt

$ fossil commit -m 'added hello.txt'
New_Version: b190756273e71d2d4f13b88b55b18ad394bb3153

# No output because hello.txt has not changed.
$ fossil diff

# Some output when hello.txt is specified by itself making
# it hard to know in general if there is a difference or not.
$ fossil diff hello.txt
--- hello.txt
+++ hello.txt

# Back to no output when multiple files are specified.
$ fossil diff hello.txt hello.txt

User Comments:
stephan added on 2023-01-17 15:04:09:

The diff command no longer behaves that way when passed a single file.