mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-03 02:43:15 +00:00
df2d46df82
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
|