]> git.ipfire.org Git - thirdparty/git.git/commit - imap-send.c
imap-send.c: remove namespace fields from struct imap
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 15 Jan 2013 08:06:27 +0000 (09:06 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jan 2013 22:50:22 +0000 (14:50 -0800)
commit3648b4d996be3e89d53a9beefc448c7129e3a49f
tree14694ebdf6ead44dc8bd02c8252690bd3dd114af
parent15f4ad19d686f2b5cd6908b3dbad6d250518b177
imap-send.c: remove namespace fields from struct imap

They are unused, and their removal means that a bunch of list-related
infrastructure can be disposed of.

It might be that the "NAMESPACE" response that is now skipped over in
get_cmd_result() should never be sent by the server.  But somebody
would have to check the IMAP protocol and how we interact with the
server to be sure.  So for now I am leaving that branch of the "if"
statement there.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
imap-send.c