summaryrefslogtreecommitdiffstats
path: root/.git_commit_template.txt
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2022-09-26 10:09:30 +0200
committerMauro Sardara <msardara@cisco.com>2022-09-26 08:31:02 +0000
commit1a62f6efae96b7472cea698564b5b7ae731e3e02 (patch)
tree62fa3ef53ff3f2d2606190abb710d32bee1757c3 /.git_commit_template.txt
parentadbdfdf7489e1909f29e2dd02edb7d15c258ed19 (diff)
fix(Makefile): fix the `make commit-template` target
make commit template expects the CWD of make to be a git repository. While this is true most of the time, there are cases where we use the Makefile just for install dependencies (e.g. https://github.com/FDio/hicn/blob/master/Dockerfile.dev#L22) and in that case we do not copy the .git folder. The solution is to check if the current make directory is actually a .git repository. Ticket: HICN-796 Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I12912c76c9ddfa3b7a19d0faf8c84b178ca728bf Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to '.git_commit_template.txt')
0 files changed, 0 insertions, 0 deletions