List of --diff-options
I cannot find the options available when doing a diff.
Specifically I am hoping there is an option to increase the number of lines of content included in the diff.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Vincent Ladeuil
- Solved:
- 2012-08-29
- Last query:
- 2012-08-29
- Last reply:
- 2012-08-29
Martin Pool (mbp) said : | #1 |
--diff-options can pass through any option supported by your
underlying diff program - so see 'man diff' etc.
For more context, try eg --diff-options -U10.
Bazaar is the underlying diff program and I cannot find a list of options.
-U10 is not a valid option.
|
#3 |
> -U10 is not a valid option.
It is a valid option for 'diff' not 'bzr diff'
'bzr diff --help' will tell you which options are available.
> Specifically I am hoping there is an option to increase the number of lines of content included in the diff.
If you're running bzr from source, you'll see that a '--context' option has recently been added which does just that.
If you're not running from source, wait for the next bzr beta release.
Note to devs (including self): too bad this isn't a *config* option so that users can set it once and for all...
Thanks Vincent Ladeuil, that solved my question.