Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/50628 )

Change subject: scons: Fix checking the --install-hooks option in the "git" tool.
......................................................................

scons: Fix checking the --install-hooks option in the "git" tool.

The option should be checked with 'install_hooks' and not
'install-hooks', even though the option is '--install-hooks' to the
user.

This bug was due to an incorrect review suggestion from me on this
original change:

https://gem5-review.googlesource.com/c/public/gem5/+/50410

JIRA: https://gem5.atlassian.net/browse/GEM5-1091

Change-Id: Ifb4526307bea015de1fe73d3d685477be711b7cb
---
M site_scons/site_tools/git.py
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/site_scons/site_tools/git.py b/site_scons/site_tools/git.py
index e95c62f..fe083b7 100644
--- a/site_scons/site_tools/git.py
+++ b/site_scons/site_tools/git.py
@@ -100,7 +100,7 @@
         return

     print(git_style_message, end=' ')
-    if SCons.Script.GetOption('install-hooks'):
+    if SCons.Script.GetOption('install_hooks'):
         print("Installing revision control hooks automatically.")
     else:
         try:

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/50628
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ifb4526307bea015de1fe73d3d685477be711b7cb
Gerrit-Change-Number: 50628
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabe.bl...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to