Timeline for Bash script to detect the version control system by testing command return status
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 5, 2018 at 18:38 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |
traverse parent directories using physical pwd to avoid worrying about symlinks
|
| S Apr 5, 2018 at 13:23 | history | suggested | LD50 | CC BY-SA 3.0 |
Starting with d=.. results in 'not under version control' if run from the root of the repository
|
| Apr 5, 2018 at 11:10 | review | Suggested edits | |||
| S Apr 5, 2018 at 13:23 | |||||
| Dec 13, 2010 at 18:55 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 2.5 |