Skip to content

Commit 901a61b

Browse files
SteveL-MSFTdaxian-dbw
authored andcommitted
Enable auto EOL on git repo side, fix some character encoding issues (PowerShell#4912)
- add ending newline to files missing it using: `awk -F: '$2 ~ / no line terminators/ {print $1}' ~/text-files.txt | xargs -I{} sh -c 'printf "\n" >> "$1"' - {}` - update .gitattributes to enforce autocrlf on all text files - added <copyright> opening element where it was missing removed file attribute pointing to wrong filename - fix mis-encoded character to apostrophe - replace incorrect encoding of copyright symbol with (c) - updated file hashes in the test
1 parent b30da37 commit 901a61b

File tree

38 files changed

+238
-222
lines changed

38 files changed

+238
-222
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
CHANGELOG.md merge=union
2+
* text=auto
3+
*.png binary

src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//-----------------------------------------------------------------------
2-
// Copyright © Microsoft Corporation. All rights reserved.
2+
// <copyright company="Microsoft">
3+
// Copyright © Microsoft Corporation. All rights reserved.
34
// </copyright>
45
//-----------------------------------------------------------------------
56

src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandCommandInfo.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//-----------------------------------------------------------------------
2-
// Copyright © Microsoft Corporation. All rights reserved.
2+
// <copyright company="Microsoft">
3+
// Copyright © Microsoft Corporation. All rights reserved.
34
// </copyright>
45
//-----------------------------------------------------------------------
56

src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandModuleInfo.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//-----------------------------------------------------------------------
2-
// Copyright © Microsoft Corporation. All rights reserved.
2+
// <copyright company="Microsoft">
3+
// Copyright © Microsoft Corporation. All rights reserved.
34
// </copyright>
45
//-----------------------------------------------------------------------
56

src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterInfo.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//-----------------------------------------------------------------------
2-
// Copyright © Microsoft Corporation. All rights reserved.
2+
// <copyright company="Microsoft">
3+
// Copyright © Microsoft Corporation. All rights reserved.
34
// </copyright>
45
//-----------------------------------------------------------------------
56

src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterSetInfo.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//-----------------------------------------------------------------------
2-
// Copyright © Microsoft Corporation. All rights reserved.
2+
// <copyright company="Microsoft">
3+
// Copyright © Microsoft Corporation. All rights reserved.
34
// </copyright>
45
//-----------------------------------------------------------------------
56

src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandParameterType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//-----------------------------------------------------------------------
2-
// <copyright file="ShowCommandParameterInfo.cs" company="Microsoft">
2+
// <copyright company="Microsoft">
33
// Copyright © Microsoft Corporation. All rights reserved.
44
// </copyright>
55
//-----------------------------------------------------------------------

src/Microsoft.PowerShell.Commands.Utility/commands/utility/ShowCommand/ShowCommandProxy.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//-----------------------------------------------------------------------
2-
// Copyright © Microsoft Corporation. All rights reserved.
2+
// <copyright company="Microsoft">
3+
// Copyright © Microsoft Corporation. All rights reserved.
34
// </copyright>
45
//-----------------------------------------------------------------------
56

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CorePsTypeCatalog.cs
1+
CorePsTypeCatalog.cs

src/Microsoft.PowerShell.CoreCLR.Eventing/DotNetCode/Eventing/EventDescriptor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//------------------------------------------------------------------------------
2-
// <copyright file="etwprovider.cs" company="Microsoft">
2+
// <copyright company="Microsoft">
33
// Copyright (c) Microsoft Corporation. All rights reserved.
44
// </copyright>
55
//------------------------------------------------------------------------------

0 commit comments

Comments
 (0)