mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
show-branch: note about its object flags usage
This is another candidate for commit-slab. Keep Junio's observation in code so we can search it later on when somebody wants to improve the code. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
60855a5343
commit
44cecbf8a0
@@ -22,6 +22,11 @@ static int showbranch_use_color = -1;
|
||||
|
||||
static struct argv_array default_args = ARGV_ARRAY_INIT;
|
||||
|
||||
/*
|
||||
* TODO: convert this use of commit->object.flags to commit-slab
|
||||
* instead to store a pointer to ref name directly. Then use the same
|
||||
* UNINTERESTING definition from revision.h here.
|
||||
*/
|
||||
#define UNINTERESTING 01
|
||||
|
||||
#define REV_SHIFT 2
|
||||
|
||||
Reference in New Issue
Block a user