threads / patch / 22379

patchcommit-tree: remove unused #define

Subject: [PATCH] commit-tree: remove unused #define

## tl;dr

2 messages between Jan 25, 2010 and Jan 25, 2010. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Stephen Boyd· Jan 25, 2010, 07:05 UTC · lore
---
The fixme looks very suspicious too...
 builtin-commit-tree.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
Show changes to builtin-commit-tree.c +0 −2
diff --git a/builtin-commit-tree.c b/builtin-commit-tree.c
index ddcb7a4..90dac34 100644
--- a/builtin-commit-tree.c
+++ b/builtin-commit-tree.c
@@ -9,8 +9,6 @@
 #include "builtin.h"
 #include "utf8.h"
 
-#define BLOCKING (1ul << 14)
-
 /*
  * FIXME! Share the code with "write-tree.c"
  */
-- 
1.6.6.1.436.gaba7d
Daniel· Jan 25, 2010, 09:17 UTC · re: Stephen Boyd · lore

Re: [PATCH] commit-tree: remove unused #define

> ---
> 
> The fixme looks very suspicious too...
According to git blame it belongs to the same revision as BLOCKING
 -- initial commit. So probably it can be removed with BLOCKING.
Show 20 quoted lines
> 
>  builtin-commit-tree.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/builtin-commit-tree.c b/builtin-commit-tree.c
> index ddcb7a4..90dac34 100644
> --- a/builtin-commit-tree.c
> +++ b/builtin-commit-tree.c
> @@ -9,8 +9,6 @@
>  #include "builtin.h"
>  #include "utf8.h"
>  
> -#define BLOCKING (1ul << 14)
> -
>  /*
>   * FIXME! Share the code with "write-tree.c"
>   */
> -- 
> 1.6.6.1.436.gaba7d
> 
-- Daniel

← back to recent threads