You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/man/src/git-footers.demo.1.sh

18 lines
441 B
Bash

#!/usr/bin/env bash
. demo_repo.sh
add deleted_file
add unstaged_deleted_file
add modified_file
c 'I committed this and am proud of it.
Cr-Commit-Position: refs/heads/master@{#292272}
Tech-Debt-Introduced: 17 microMSOffices
Tech-Debt-Introduced: -4 microMSOffices'
run git footers HEAD
run git footers --key Tech-Debt-Introduced HEAD
run git footers --position HEAD
run git footers --position-num HEAD
run git footers --position-ref HEAD