diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-04-25 16:41:21 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-25 16:41:21 +0900 |
commit | d8620d3ca7a01c1108f3145cc77dbda6e0e970c6 (patch) | |
tree | 26c7106af5727b8b0740eea664da5cedcebbb6e5 /builtin/checkout.c | |
parent | Merge branch 'tg/ls-files-debug-format-fix' (diff) | |
parent | blame: default to HEAD in a bare repo when no start commit is given (diff) | |
download | tgif-d8620d3ca7a01c1108f3145cc77dbda6e0e970c6.tar.xz |
Merge branch 'sg/blame-in-bare-start-at-head'
"git blame -- path" in a non-bare repository starts blaming from
the working tree, and the same command in a bare repository errors
out because there is no working tree by definition. The command
has been taught to instead start blaming from the commit at HEAD,
which is more useful.
* sg/blame-in-bare-start-at-head:
blame: default to HEAD in a bare repo when no start commit is given
Diffstat (limited to 'builtin/checkout.c')
0 files changed, 0 insertions, 0 deletions