https://github.com/git/git
Revision 74a31a100ab96c37ebec5c04e1822bb2681bc345 authored by Eric Wong on 11 October 2006, 18:53:22 UTC, committed by Junio C Hamano on 11 October 2006, 21:41:13 UTC
Change the --verbose flag to more closely match svn.  I was
somehow under the impression that --summary included --raw diff
output, but I was wrong.  We now pass -r --raw --name-status as
arguments if passed -v/--verbose.

-r (recursive) is passed by default, since users usually want
it, and accepting it causes difficulty with the -r<revision>
option used by svn users.  A --non-recursive switch has been
added to disable this.

Of course, --summary, --raw, -p and any other git-log options
can still be passed directly (without --name-status).

Also, several warnings about referencing undefined variables
have been fixed.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent c35b96e
Raw File
Tip revision: 74a31a100ab96c37ebec5c04e1822bb2681bc345 authored by Eric Wong on 11 October 2006, 18:53:22 UTC
git-svn: log command fixes
Tip revision: 74a31a1
pack.h
#ifndef PACK_H
#define PACK_H

#include "object.h"

/*
 * Packed object header
 */
#define PACK_SIGNATURE 0x5041434b	/* "PACK" */
#define PACK_VERSION 3
#define pack_version_ok(v) ((v) == htonl(2) || (v) == htonl(3))
struct pack_header {
	unsigned int hdr_signature;
	unsigned int hdr_version;
	unsigned int hdr_entries;
};

extern int verify_pack(struct packed_git *, int);
extern int check_reuse_pack_delta(struct packed_git *, unsigned long,
				  unsigned char *, unsigned long *,
				  enum object_type *);
#endif
back to top