bzr diff (and cdiff) should support --exclude option
Bug #621450 reported by
Russ Brown
This bug report is a duplicate of:
Bug #53992: diff should have an -x option (exclude certain files).
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
bzr commit allows me to exclude given paths from the commit. In looking at what I am going to be committing, I would like diff (and cdiff) to support the same option so I can get a consistent picture of what commit will see.
So say I want to commit everything except file foo, currently in order to see a diff of what I will commit, I need to either explcity specify the files I want to commit on the command line when running diff (potentially tedious), or just ignore the file in the diff output (potentially voluminous). The preferable, and more consistent way, would be to be able to pass the same options to both commands:
bzr cdiff -x foo
bzr commit -x foo
To post a comment you must log in.