Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add a 'source' decorator for commits
[gitweb.git]
/
builtin-log.c
diff --git
a/builtin-log.c
b/builtin-log.c
index a0944f70a4a3aa4f5fb08c4ac4ae7dc31d25d532..176cbce308be8147aa06134c57b846cb8a4761ed 100644
(file)
--- a/
builtin-log.c
+++ b/
builtin-log.c
@@
-56,6
+56,8
@@
static void cmd_log_init(int argc, const char **argv, const char *prefix,
if (!strcmp(arg, "--decorate")) {
load_ref_decorations();
decorate = 1;
+ } else if (!strcmp(arg, "--source")) {
+ rev->show_source = 1;
} else
die("unrecognized argument: %s", arg);
}