Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cat command instead of git status #7

Closed
pedroteixeira opened this issue Oct 11, 2021 · 2 comments
Closed

cat command instead of git status #7

pedroteixeira opened this issue Oct 11, 2021 · 2 comments
Labels

Comments

@pedroteixeira
Copy link

Probably should be $(git status instead of $(cat git status at:
https://github.com/potherca-bash/git-split-file/blob/master/src/git-split-file.sh#L374

@pedroteixeira
Copy link
Author

pedroteixeira commented Oct 11, 2021

I just tried to use the script and I had conflicts when splitting to 4 files. Perhaps git add -A :/ to add all files?

I changed to it in order to make the script add the files and it seemed to have worked 👍

@Potherca
Copy link
Member

Probably should be $(git status instead of $(cat git status

Yup. That's a bug. Will fix.

Perhaps git add -A to add all files?

I'd have to see if/what conflicts that might create with other use-cases but that might be a good idea 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants