File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,9 @@ var storeStatusCmd = &cmds.Command{
81
81
writer .Println ("\t Base:" , t .Base .Height (), t .Base .Key ().String ())
82
82
writer .Println ("\t Target:" , t .Head .Height (), t .Head .Key ().String ())
83
83
84
+ HeightDiff := t .Head .Height () - t .Base .Height ()
85
+ writer .Println ("\t HeightDiff:" , HeightDiff )
86
+
84
87
if t .Current != nil {
85
88
writer .Println ("\t Current:" , t .Current .Height (), t .Current .Key ().String ())
86
89
} else {
@@ -99,6 +102,9 @@ var storeStatusCmd = &cmds.Command{
99
102
writer .Println ("\t Base:" , t .Base .Height (), t .Base .Key ().String ())
100
103
writer .Println ("\t Target:" , t .Head .Height (), t .Head .Key ().String ())
101
104
105
+ HeightDiff := t .Head .Height () - t .Base .Height ()
106
+ writer .Println ("\t HeightDiff:" , HeightDiff )
107
+
102
108
if t .Current != nil {
103
109
writer .Println ("\t Current:" , t .Current .Height (), t .Current .Key ().String ())
104
110
} else {
You can’t perform that action at this time.
0 commit comments