The reason for the noise is because I get this error when I try to commit the 
change.

Fatal: CRLF would be replaced by LF in RHEL6/input/profiles/CS2.xml.

I apologize but I do not know how to fix this issue without converting the file 
first.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Shawn 
Wells
Sent: Sunday, November 10, 2013 3:59 PM
To: [email protected]
Subject: Re: [PATCH] Fixed a typo in the CS2 profile

On 11/8/13, 9:39 AM, Caleb Cooper wrote:
> Signed-off-by: Caleb Cooper<[email protected]>
> ---
>   RHEL6/input/profiles/CS2.xml |  760 
> +++++++++++++++++++++---------------------
>   1 files changed, 380 insertions(+), 380 deletions(-)
>
> diff --git a/RHEL6/input/profiles/CS2.xml 
> b/RHEL6/input/profiles/CS2.xml index 35b88b5..c6df577 100644
> --- a/RHEL6/input/profiles/CS2.xml
> +++ b/RHEL6/input/profiles/CS2.xml
> @@ -1,380 +1,380 @@
> .......
> -<select idref="acounts_maximum_age_login_defs" selected="true"/> ....
> +<select idref="accounts_maximum_age_login_defs" selected="true"/>
> .........

While clear the patch fixed this typo, the extra line changes prevent clear 
indication if other changes were introduced.

Could you minimize the noise in the patch? e.g.

git checkout RHEL6/input/profiles/CS2.xml sed -i 
's/acounts_maximum_age/accounts_maximum_age/g' 
RHEL6/input/profiles/CS2.xml
git commit RHEL6/input/profiles/CS2.xml
_______________________________________________
scap-security-guide mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide
_______________________________________________
scap-security-guide mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide

Reply via email to