Home Home > GIT Browse > scripts
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-23 12:14:05 +0100
committerMichal Suchanek <msuchanek@suse.de>2019-01-27 18:43:54 +0100
commit90691bf0ef84e61f7d7c6b9f49a2571677579700 (patch)
treecb98aa2ba6ef48a8fcc87d2e3f065c8f783353c0
parent82966352fbc030575251ae85fd04607e0f3c79e3 (diff)
scritps/log2: add patch changes to index before running checks.scripts
-rwxr-xr-xscripts/log21
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/log2 b/scripts/log2
index 8e159d72ea..25ad680b4e 100755
--- a/scripts/log2
+++ b/scripts/log2
@@ -402,6 +402,7 @@ deleted=($(git diff --name-only --diff-filter=D HEAD))
scripts/check-patch-dirs "${added[@]}" "${modified[@]}" || exit 1
if only_patches; then
+ git add -u
"$_libdir"/git-pre-commit || exit
commit_single_patches || exit
else