16 lines
517 B
Bash
16 lines
517 B
Bash
#!/bin/bash
|
|
# The Historian — read git history.
|
|
#
|
|
# When this script runs, the current Git repo already has 5 commits
|
|
# from a prior mission. One of them mentions BREACH.
|
|
#
|
|
# Your script must produce two files:
|
|
# - log.txt — `git log --oneline` output (one line per commit)
|
|
# - breach-commit.txt — the short hash of the BREACH commit
|
|
#
|
|
# Hint: `git log --oneline | grep BREACH | awk '{print $1}'`
|
|
# pipes the matching log line and prints the leftmost column (the
|
|
# short hash).
|
|
|
|
# Your code here.
|