Nanako Shiraishi <nanako3@xxxxxxxxxxxxxx> writes: > Junio C Hamano <gitster@xxxxxxxxx> writes: > ... >> When you say "#!/bin/sh", you are writing for the family of >> generic Bourne shells, not specifically for korn nor bash. For >> example, dash is a fine POSIX shell, but does not grok function >> noiseword. When in doubt, please stay away from things not in >> POSIX (e.g. function, [[, ]], ${parameter//pattern/string/}). > > Is there a good reference you can point me? I usually look at this: http://www.opengroup.org/onlinepubs/000095399/ and click on "Shell and Utilities volume (XCU)", and compare it with "man bash". > At first I wanted to do git-add . instead of git-add -u, but then I > became worried that will add files that are not interesting such as > temporary files. As long as .gitignore is set up properly to ignore such generated files, that shouldn't be a problem. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html