diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 110771bd..e7f98f06 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -8,8 +8,10 @@ staged_files = `git --no-pager diff --name-only --cached`.split(/\n/) need_inspection = [] staged_files.each do |f| + puts f + exit need_inspection << f if - f == 'Makefile' || source_files_exts.include?(File.extname(f)) + f.include?('Makefile') || source_files_exts.include?(File.extname(f)) end error = false diff --git a/01_bareminimum/kernel8 b/01_bareminimum/kernel8 index ccc3c820..41e68862 100755 Binary files a/01_bareminimum/kernel8 and b/01_bareminimum/kernel8 differ diff --git a/02_multicore_rust/kernel8 b/02_multicore_rust/kernel8 index 7bc0bdcf..a3250f9d 100755 Binary files a/02_multicore_rust/kernel8 and b/02_multicore_rust/kernel8 differ diff --git a/03_uart1/kernel8 b/03_uart1/kernel8 index ec23d19a..e16ba316 100755 Binary files a/03_uart1/kernel8 and b/03_uart1/kernel8 differ diff --git a/04_mailboxes/kernel8 b/04_mailboxes/kernel8 index 3cbd22e8..a279c113 100755 Binary files a/04_mailboxes/kernel8 and b/04_mailboxes/kernel8 differ diff --git a/05_uart0/kernel8 b/05_uart0/kernel8 index 7befc95d..ff1759a9 100755 Binary files a/05_uart0/kernel8 and b/05_uart0/kernel8 differ diff --git a/06_raspbootin64/kernel8 b/06_raspbootin64/kernel8 index 454d7cc0..a1076596 100755 Binary files a/06_raspbootin64/kernel8 and b/06_raspbootin64/kernel8 differ diff --git a/07_abstraction/kernel8 b/07_abstraction/kernel8 index 422cdad6..4a84a585 100755 Binary files a/07_abstraction/kernel8 and b/07_abstraction/kernel8 differ diff --git a/08_random/kernel8 b/08_random/kernel8 index eee5a755..e7eb1f9e 100755 Binary files a/08_random/kernel8 and b/08_random/kernel8 differ diff --git a/09_delays/kernel8 b/09_delays/kernel8 index 675de4b5..772a20c3 100755 Binary files a/09_delays/kernel8 and b/09_delays/kernel8 differ diff --git a/0A_power/kernel8 b/0A_power/kernel8 index afbc60a9..d4f65116 100755 Binary files a/0A_power/kernel8 and b/0A_power/kernel8 differ diff --git a/0B_exception_levels/kernel8 b/0B_exception_levels/kernel8 index aa55a760..a29278a7 100755 Binary files a/0B_exception_levels/kernel8 and b/0B_exception_levels/kernel8 differ diff --git a/0C_virtual_memory/kernel8 b/0C_virtual_memory/kernel8 index 9295dc7d..1ba64ee3 100755 Binary files a/0C_virtual_memory/kernel8 and b/0C_virtual_memory/kernel8 differ diff --git a/0D_cache_performance/kernel8 b/0D_cache_performance/kernel8 index 1d3bbd10..c1e13b0a 100755 Binary files a/0D_cache_performance/kernel8 and b/0D_cache_performance/kernel8 differ diff --git a/0D_cache_performance/kernel8.img b/0D_cache_performance/kernel8.img index 2a9bcabc..ed34f535 100755 Binary files a/0D_cache_performance/kernel8.img and b/0D_cache_performance/kernel8.img differ