diff options
author | Pieter de Bie <pdebie@ai.rug.nl> | 2008-09-08 01:05:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-07 16:15:49 -0700 |
commit | e502f9e7e6ceb8dfbdb94e2675355847740fc28f (patch) | |
tree | ce6aeea27494a6e230c5f940819d3809cdb2d526 /dir.c | |
parent | 80d12c23de4fbddfaee2f9bf7fe809f57d02e171 (diff) | |
download | git-e502f9e7e6ceb8dfbdb94e2675355847740fc28f.tar.gz git-e502f9e7e6ceb8dfbdb94e2675355847740fc28f.tar.xz |
builtin-commit.c: show on which branch a commit was added
This outputs the current branch on which a commit was created, just for
reference. For example:
Created commit 6d42875 on master: Fix submodule invalid command error
This also reminds the committer when he is on a detached HEAD:
Created commit 02a7172 on detached HEAD: Also do this for 'git commit --amend'
Signed-off-by: Pieter de Bie <pdebie@ai.rug.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions