repo.or.cz
/
wireshark-sm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
dcerpc-netlogon: improve NetrLogonGetCapabilities dissection
[wireshark-sm.git]
/
prepare-pidl-patch
blob
2aeb7a3b4d6a194de2a0b70501573541ed040e1b
1
#!/bin/bash
2
#
3
4
set -u
5
set -e
6
7
WIRESHARK_COMMIT
=
$1
8
git format-patch
--stdout -1
${WIRESHARK_COMMIT}
| \
9
sed
-e
's!\[PATCH\] ! [PATCH] pidl: !g'
| \
10
sed
-e
's!tools/pidl/!pidl/!g'
| \
11
sed
-e
"s!^---\$!(wireshark commit
${WIRESHARK_COMMIT}
)
\n
---!g"
| \
12
cat