Lines Matching full:commit
6 …et BPF_NEXT_BASELINE to override bpf-next tree commit, otherwise read from <libbpf-repo>/CHECKPOIN…
7 …echo "Set BPF_BASELINE to override bpf tree commit, otherwise read from <libbpf-repo>/BPF-CHECKPOI…
17 BASELINE_COMMIT=${BPF_NEXT_BASELINE:-$(cat ${LIBBPF_REPO}/CHECKPOINT-COMMIT)}
18 BPF_BASELINE_COMMIT=${BPF_BASELINE:-$(cat ${LIBBPF_REPO}/BPF-CHECKPOINT-COMMIT)}
70 # Output brief single-line commit description
71 # $1 - commit ref
77 # Create commit single-line signature, which consists of:
78 # - full commit subject
80 # - full commit body with newlines replaced with vertical bars (|)
84 # $1 - commit ref
114 # commit with the same subject is already in libbpf, but it's
115 # not 100% the same commit, so check with user
116 echo "Commit '${desc}' is synced into libbpf as:"
137 # commit hasn't been synced into libbpf yet
154 # GIT_EDITOR=true to avoid editor popping up to edit commit message
167 # Append signature of just cherry-picked commit to avoid
168 # potentially cherry-picking the same commit twice later when
170 # the final commit sha in libbpf repo, so we record Linux SHA
192 echo "Dumping existing libbpf commit signatures..."
210 # Squash state of kernel repo at baseline into single commit
213 SQUASH_COMMIT=$(git commit-tree ${BASELINE_COMMIT}^{tree} -m "BASELINE SQUASH ${BASELINE_COMMIT}")
220 echo "BASE COMMIT: '$(commit_desc ${BASELINE_COMMIT})'"
221 echo "TIP COMMIT: '$(commit_desc ${TIP_COMMIT})'"
222 echo "BPF BASE COMMIT: '$(commit_desc ${BPF_BASELINE_COMMIT})'"
223 echo "BPF TIP COMMIT: '$(commit_desc ${BPF_TIP_COMMIT})'"
224 echo "SQUASH COMMIT: ${SQUASH_COMMIT}"
242 # Cherry-pick new commits onto squashed baseline commit
259 # Exclude baseline commit and generate nice cover letter with summary
275 # Generate bpf_helper_defs.h and commit, if anything changed
283 # if anything changed, commit it
287 git commit -m "sync: auto-generate latest BPF helpers
293 # Use generated cover-letter as a template for "sync commit" with
296 echo ${TIP_COMMIT} > CHECKPOINT-COMMIT && \
297 echo ${BPF_TIP_COMMIT} > BPF-CHECKPOINT-COMMIT && \
298 git add CHECKPOINT-COMMIT && \
299 git add BPF-CHECKPOINT-COMMIT && \
305 Baseline bpf-next commit: ${BASELINE_COMMIT}\n\
306 Checkpoint bpf-next commit: ${TIP_COMMIT}\n\
307 Baseline bpf commit: ${BPF_BASELINE_COMMIT}\n\
308 Checkpoint bpf commit: ${BPF_TIP_COMMIT}/" | \
309 git commit --file=-