Skip to content

Comments

invitation string#3

Open
Andrw-404 wants to merge 3 commits intomainfrom
invitationString
Open

invitation string#3
Andrw-404 wants to merge 3 commits intomainfrom
invitationString

Conversation

@Andrw-404
Copy link
Owner

No description provided.


function PromptInfo() {
if git rev-parse --is-inside-work-tree &>/dev/null; then
local changedFiles=$(git status --porcelain | wc -l | awk '{print $1}')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wc -l и так возвращает только одно поле. awk не нужен.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants