repo.or.cz
/
git-export-filter.git
/
commitdiff
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
461f3e4
)
Allow -A as --authors-file alias for compatibility
author
Kyle J. McKay
<
[email protected]
>
Sun, 26 May 2013 21:58:29 +0000
(26 14:58 -0700)
committer
Kyle J. McKay
<
[email protected]
>
Sun, 26 May 2013 21:58:29 +0000
(26 14:58 -0700)
git-export-filter.c
patch
|
blob
|
blame
|
history
diff --git
a/git-export-filter.c
b/git-export-filter.c
index
ed7ea9b
..
883c3a8
100644
(file)
--- a/
git-export-filter.c
+++ b/
git-export-filter.c
@@
-194,7
+194,7
@@
int main(int argc, char *argv[])
die("freopen(NULL, \"wb\", stdout) failed");
for (; optind < argc; ++optind) {
#define A argv[optind]
- if (strcmp(A, "--authors-file") == 0) {
+ if (strcmp(A, "--authors-file") == 0
|| strcmp(A, "-A") == 0
) {
if (++optind >= argc || !A || !*A)
die("--authors-file requires a filename argument");
authorsfile = A;