diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-04-07 09:52:10 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-10 23:00:32 +0100 |
commit | 5f7bf1f66d21155dfa5328aa57b4302cc64c132b (patch) | |
tree | ce0fd73f0c03de93a367ab124b0e6a42247f7850 /bitbake/lib/simplediff/LICENSE | |
parent | 5d8b89fc0b9a703243dcd4cce483c335effee78d (diff) | |
download | poky-5f7bf1f66d21155dfa5328aa57b4302cc64c132b.tar.gz |
bitbake: lib/bb/siggen: show word-diff for single-line values containing spaces
If a variable value has changed and either the new or old value contains
spaces, a word diff should be appropriate and may be a bit more readable.
Import the "simplediff" module and use it to show a word diff (in the
style of GNU wdiff and git diff --word-diff).
Also use a similar style diff to show changes in the runtaskhashes list.
I didn't use an actual word-diff here since it's a little different - we
can be sure that the list is a list and not simply a free-format string.
(Bitbake rev: 20db6b6553c80e18afc4f43dc2495435f7477822)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/simplediff/LICENSE')
-rw-r--r-- | bitbake/lib/simplediff/LICENSE | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bitbake/lib/simplediff/LICENSE b/bitbake/lib/simplediff/LICENSE new file mode 100644 index 0000000000..8242dde97c --- /dev/null +++ b/bitbake/lib/simplediff/LICENSE | |||
@@ -0,0 +1,22 @@ | |||
1 | Copyright (c) 2008 - 2013 Paul Butler and contributors | ||
2 | |||
3 | This sofware may be used under a zlib/libpng-style license: | ||
4 | |||
5 | This software is provided 'as-is', without any express or implied warranty. In | ||
6 | no event will the authors be held liable for any damages arising from the use | ||
7 | of this software. | ||
8 | |||
9 | Permission is granted to anyone to use this software for any purpose, including | ||
10 | commercial applications, and to alter it and redistribute it freely, subject to | ||
11 | the following restrictions: | ||
12 | |||
13 | 1. The origin of this software must not be misrepresented; you must not claim | ||
14 | that you wrote the original software. If you use this software in a product, an | ||
15 | acknowledgment in the product documentation would be appreciated but is not | ||
16 | required. | ||
17 | |||
18 | 2. Altered source versions must be plainly marked as such, and must not be | ||
19 | misrepresented as being the original software. | ||
20 | |||
21 | 3. This notice may not be removed or altered from any source distribution. | ||
22 | |||