Skip to content

Commit

Permalink
Simplify.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminRodenberg committed Oct 26, 2023
1 parent 653678e commit 8e6243a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions partitioned-heat-conduction/doConvergenceStudy.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ def do_run(dt, n_substeps=1, precice_config_params=default_precice_config_params

import git

repo_base = Path(__file__).parent / ".."
repo = git.Repo(repo_base)
repo = git.Repo(__file__, search_parent_directories=True)
chash = str(repo.head.commit)[:7]
if repo.is_dirty():
chash += "-dirty"
Expand Down

0 comments on commit 8e6243a

Please sign in to comment.