Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1845)

Unified Diff: man/src/git-footers.demo.1.sh

Issue 521033002: Added git footers tool to parse conventional metadata from git commits (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Review comments Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « man/src/git-footers.txt ('k') | tests/git_footers_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: man/src/git-footers.demo.1.sh
diff --git a/man/src/git-footers.demo.1.sh b/man/src/git-footers.demo.1.sh
new file mode 100755
index 0000000000000000000000000000000000000000..6825857cd95de078a3c8adafd5bf302c04641e16
--- /dev/null
+++ b/man/src/git-footers.demo.1.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+. demo_repo.sh
+
+add deleted_file
+add unstaged_deleted_file
+add modified_file
+c 'I commited 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
« no previous file with comments | « man/src/git-footers.txt ('k') | tests/git_footers_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698