Skip to main content

Timeline for git pre-commit script

Current License: CC BY-SA 4.0

2 events
when toggle format what by license comment
Mar 2, 2019 at 5:12 comment added Richard Ah, I see. You're right. By enclosing the function call in $(), I'm preventing the -eq from being sent as arguments to the function. However, I'm encountering another problem. The file_staged() function isn't working as expected. When I run the command from the command line, I get the expected results, but not in my script. I'll update my question accordingly.
Mar 1, 2019 at 23:34 history answered jesse_b CC BY-SA 4.0