Skip to content

Commit

Permalink
Merge lt/revlist,jc/diff,jc/revparse,jc/abbrev
Browse files Browse the repository at this point in the history
  • Loading branch information
Junio C Hamano committed Jan 28, 2006
5 parents 6b94f1e + 93b74bc + ea726d0 + b33aba5 + 6b1ddbd commit addafaf
Show file tree
Hide file tree
Showing 15 changed files with 932 additions and 107 deletions.
4 changes: 4 additions & 0 deletions Documentation/git-rev-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ SYNOPSIS
[ \--min-age=timestamp ]
[ \--sparse ]
[ \--no-merges ]
[ \--remove-empty ]
[ \--all ]
[ [ \--merge-order [ \--show-breaks ] ] | [ \--topo-order ] ]
[ \--parents ]
Expand Down Expand Up @@ -80,6 +81,9 @@ OPTIONS
(still subject to count and age limitation), but apply
merge simplification nevertheless.

--remove-empty::
Stop when a given path disappears from the tree.

--all::
Pretend as if all the refs in `$GIT_DIR/refs/` are
listed on the command line as <commit>.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ LIB_H = \

DIFF_OBJS = \
diff.o diffcore-break.o diffcore-order.o diffcore-pathspec.o \
diffcore-pickaxe.o diffcore-rename.o tree-diff.o
diffcore-pickaxe.o diffcore-rename.o tree-diff.o combine-diff.o

LIB_OBJS = \
blob.o commit.o connect.o count-delta.o csum-file.o \
Expand Down
3 changes: 3 additions & 0 deletions cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ extern int has_pack_file(const unsigned char *sha1);
extern int has_pack_index(const unsigned char *sha1);

/* Convert to/from hex/sha1 representation */
#define MINIMUM_ABBREV 4
#define DEFAULT_ABBREV 7

extern int get_sha1(const char *str, unsigned char *sha1);
extern int get_sha1_hex(const char *hex, unsigned char *sha1);
extern char *sha1_to_hex(const unsigned char *sha1); /* static buffer result! */
Expand Down
Loading

0 comments on commit addafaf

Please sign in to comment.