Skip to content

Commit

Permalink
Merge pull request #4 from ButterflyNetwork/alpha
Browse files Browse the repository at this point in the history
Better git log search.
  • Loading branch information
bitisuvanje authored May 3, 2022
2 parents eb74c64 + cb2fa50 commit 033cd40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

An orb for detecting git submodule changes.

See the module in practice at: [monorepo-deploy](https://github.com/ButterflyNetwork/monorepo-deploy).

---

## Resources
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/create-parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def submodules_count():

def changed_submodules():
raw_changes = subprocess.run(
['git', 'log', '-p', '--first-parent', '--merges', '-1'],
['git', 'log', '-p', '--submodule=log', '--first-parent', '--merges', '-1'],
check=True,
capture_output=True
).stdout.decode('utf-8').splitlines()
Expand Down

0 comments on commit 033cd40

Please sign in to comment.