aboutsummaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-16 18:12:49 -0700
committerJunio C Hamano <junkio@cox.net>2006-04-16 22:05:38 -0700
commit1b65a5aa449e2ea99a68f5d13c5521d0dc64dfd1 (patch)
tree4a9db3b92e5e94addafb6e6120015622476dbd85 /http-push.c
parente6bfaf3e33beba9431490a4f5c7a9753986554c4 (diff)
downloadgit-1b65a5aa449e2ea99a68f5d13c5521d0dc64dfd1.tar.gz
git-1b65a5aa449e2ea99a68f5d13c5521d0dc64dfd1.tar.xz
rev-list --boundary: show boundary commits even when limited otherwise.
The boundary commits are shown for UI like gitk to draw them as soon as topo-order sorting allows, and should not be omitted by get_revision() filtering logic. As long as their immediate child commits are shown, we should not filter them out. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-push.c')
-rw-r--r--http-push.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/http-push.c b/http-push.c
index 19a0f772e..114d01bce 100644
--- a/http-push.c
+++ b/http-push.c
@@ -60,12 +60,12 @@ enum XML_Status {
#define LOCK_TIME 600
#define LOCK_REFRESH 30
-/* bits #0-6 in revision.h */
+/* bits #0-15 in revision.h */
-#define LOCAL (1u << 7)
-#define REMOTE (1u << 8)
-#define FETCHING (1u << 9)
-#define PUSHING (1u << 10)
+#define LOCAL (1u<<16)
+#define REMOTE (1u<<17)
+#define FETCHING (1u<<18)
+#define PUSHING (1u<<19)
/* We allow "recursive" symbolic refs. Only within reason, though */
#define MAXDEPTH 5