diff options
| author | Jeff Carr <[email protected]> | 2025-01-30 18:00:41 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-30 18:00:41 -0600 |
| commit | d62954bb63a10b7dc3b20d629bae20353d6987ee (patch) | |
| tree | 99a42aa44e3add8d727eea9257793c411e19f7d9 | |
| parent | a07ad8bae8b49b214cad7d15bc61681eed56413f (diff) | |
notes on git variablesv0.0.70
| -rw-r--r-- | reloadTags.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/reloadTags.go b/reloadTags.go index 3b574ac..444dc86 100644 --- a/reloadTags.go +++ b/reloadTags.go @@ -67,6 +67,12 @@ func (repo *Repo) reloadGitTags() error { repo.Tags.Append(&newr) } + // GIT_COMMITTER_DATE="$(git log -1 --format=%cI)" \ + // GIT_AUTHOR_DATE="$(git log -1 --format=%aI)" \ + // git am --committer-date-is-author-date < patch.mbox + + // good format for insuring the hashs are identical when using git am + // git log -1 --format="%H %aI %cI %an %ae %cn %ce" // also set the repo.NewestCommit cmd = []string{"git", "log", "-1", "--format=%cd"} result = shell.PathRunQuiet(repo.FullPath, cmd) |
