projects
/
adu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow comments in interactive input.
[adu.git]
/
interactive.c
diff --git
a/interactive.c
b/interactive.c
index 4e4ccc7417d0165581725c298ceb4bf6a06d1d30..62ff5edb774ded49b643e14c4a94f72336f4115c 100644
(file)
--- a/
interactive.c
+++ b/
interactive.c
@@
-121,6
+121,8
@@
static int exec_interactive_command(char *line)
if (!*line)
return 1;
/* OK, we have a non-empty line */
+ if (*line == '#')
+ return 1;
cmd = adu_strdup(line);
args = cmd + strcspn(cmd, delim);
if (!*args)