projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-cvsimport: Add -A <author-conv-file> option
[git.git]
/
http-push.c
diff --git
a/http-push.c
b/http-push.c
index
c6e782c
..
fe92560
100644
(file)
--- a/
http-push.c
+++ b/
http-push.c
@@
-1008,9
+1008,7
@@
static int unlock_remote(struct active_lock *lock)
if (lock->owner != NULL)
free(lock->owner);
free(lock->url);
if (lock->owner != NULL)
free(lock->owner);
free(lock->url);
-/* Freeing the token causes a segfault...
free(lock->token);
free(lock->token);
-*/
free(lock);
return rc;
free(lock);
return rc;
@@
-1274,6
+1272,9
@@
int main(int argc, char **argv)
break;
}
break;
}
+ if (!remote->url)
+ usage(http_push_usage);
+
memset(remote_dir_exists, 0, 256);
http_init();
memset(remote_dir_exists, 0, 256);
http_init();