Revision 1b9ddce8cfd0719ac02c44a2255db8420dfbea4c authored by Kevin Goess on 20 March 2015, 18:47:42 UTC, committed by Kevin Goess on 20 March 2015, 18:47:42 UTC
The context-lines selectbox wasn't displaying for a combination of url
parameters that look like this:

     w=1;a=commitdiff;hp=80b5760;h=c6e2782

it was just generating a navbar like this:

    raw (from: 80b5760)

Fixing that case to also have the context-lines selectbox.
1 parent cd43ac7
Raw File
connect.h
#ifndef CONNECT_H
#define CONNECT_H

#define CONNECT_VERBOSE       (1u << 0)
#define CONNECT_DIAG_URL      (1u << 1)
extern struct child_process *git_connect(int fd[2], const char *url, const char *prog, int flags);
extern int finish_connect(struct child_process *conn);
extern int git_connection_is_socket(struct child_process *conn);
extern int server_supports(const char *feature);
extern int parse_feature_request(const char *features, const char *feature);
extern const char *server_feature_value(const char *feature, int *len_ret);
extern int url_is_local_not_ssh(const char *url);

#endif
back to top