mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
3783f03a83
There is a multi purpose shell script for the gathering of git revisions now. It will extract all revisions that can be found in traversing of the current working directory. This effectively includes the overleaf/overleaf repo and any others that may be added downstream.
6 lines
135 B
Bash
Executable file
6 lines
135 B
Bash
Executable file
#!/bin/sh
|
|
|
|
for gitDir in $(find "$PWD" -name .git); do
|
|
echo -n "$(dirname ${gitDir}),"
|
|
git --git-dir="$gitDir" rev-parse HEAD
|
|
done
|