Commit e502f9e
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>1 parent 80d12c2 commit e502f9e
1 file changed
+30
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
881 | 907 | | |
882 | 908 | | |
883 | 909 | | |
884 | 910 | | |
| 911 | + | |
885 | 912 | | |
886 | 913 | | |
887 | 914 | | |
| |||
899 | 926 | | |
900 | 927 | | |
901 | 928 | | |
902 | | - | |
| 929 | + | |
903 | 930 | | |
904 | 931 | | |
905 | 932 | | |
| |||
910 | 937 | | |
911 | 938 | | |
912 | 939 | | |
913 | | - | |
| 940 | + | |
914 | 941 | | |
915 | 942 | | |
916 | 943 | | |
| 944 | + | |
917 | 945 | | |
918 | 946 | | |
919 | 947 | | |
| |||
0 commit comments