Revert "git_sha1_gen.py: add submodule .git directory"

This reverts commit 179392dcf3e3f75da24428b0f26a484de680a61a.

Reason for revert: git resolves git-dir correctly for submodules. No need to change the script.

Original change's description:
> git_sha1_gen.py: add submodule .git directory
>
> When submodules are enabled, .git is a git link instead of a directory.
> We should find the new git directory location and then find HEAD
> revision there.
>
> Bug: b/253329946
> Change-Id: I0ec69df186e0f0d106689f78792854db5858d31d
> Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/mesa/+/818669
> Reviewed-by: Craig Stout <cstout@google.com>

Bug: b/253329946
Change-Id: I5c6bf228e16a1c3deb373436ae5285f98b00df6d
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/mesa/+/830530
Reviewed-by: Craig Stout <cstout@google.com>
1 file changed